954,518 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

User Authorization

Hi everyone
I have written an applcation and now its the step that I want to make user authorization !
but I don't know any thing about it !
if anyone knows please introduce me some articles or please guides me !
thanx for your help

nazanin_dnr
Newbie Poster
5 posts since Sep 2004
Reputation Points: 10
Solved Threads: 0
 

just make a function .. call it on top of the main class...

and you can input a username and password from the user ... and if you want it permanent .. then you can save it in a file in encrypted file or as it is.

nanosani
Unauthenticated Liar
Team Colleague
1,830 posts since Jul 2004
Reputation Points: 45
Solved Threads: 56
 

Hi :)
thanx for your comments , but you have been misunderstanded!
I want to give different privilleges to different users :)

- Nazanin

nazanin_dnr
Newbie Poster
5 posts since Sep 2004
Reputation Points: 10
Solved Threads: 0
 

owww .... I think you failed to explain clearly :D. Any wayz ... I make a different GUI group for every authorization. I made a home finance manager ... with four users with their seperate accounts .. and a general group that can be accessed by everyone ... and an admin .. who can access every GUI.

nanosani
Unauthenticated Liar
Team Colleague
1,830 posts since Jul 2004
Reputation Points: 45
Solved Threads: 56
 
Hi everyone I have written an applcation and now its the step that I want to make user authorization ! but I don't know any thing about it ! if anyone knows please introduce me some articles or please guides me ! thanx for your help

If u want it in great looking industrial standard way
u can give him a logon screen
wen he submits u can check to ur backend storage and if avialable
proceed else can show err msg
u can have stoarge at first for purpose of studying can use files and later can
move to dbs.In java u can have both these provisions easily
but if u keep user's details until his sessions that 'll be better because
if ur app have more than one modules and a normal user will not have acess to all.that'll be great :lol:

tigerxx
Light Poster
35 posts since Sep 2004
Reputation Points: 10
Solved Threads: 0
 

Hi :) thanx for your comments , but you have been misunderstanded! I want to give different privilleges to different users :)

- Nazanin


that's easy
u can define each user's access rights in some constants
and can store in backend along with his user id
while one tries to do a function u can chek if he have the right do it

tigerxx
Light Poster
35 posts since Sep 2004
Reputation Points: 10
Solved Threads: 0
 

Hi thanx for your guidance !
but that is some how complex to understant for someone like me for the first time :o
I want to know if you have got sample of this code ! or any thing like that !
thanx :)
E-mail : [email]nazanin_dnr@yahoo.com[/email]

nazanin_dnr
Newbie Poster
5 posts since Sep 2004
Reputation Points: 10
Solved Threads: 0
 
Hi thanx for your guidance ! but that is some how complex to understant for someone like me for the first time :o I want to know if you have got sample of this code ! or any thing like that ! thanx :) E-mail : [email]nazanin_dnr@yahoo.com[/email]


sorry for the gap in reply
actually then way i tell is very easy u have to just use a class for defining all the acess privilages and read from there
ok i 'll try to send some coe snipplets for this

tigerxx
Light Poster
35 posts since Sep 2004
Reputation Points: 10
Solved Threads: 0
 
sorry for the gap in reply actually then way i tell is very easy u have to just use a class for defining all the acess privilages and read from there ok i 'll try to send some coe snipplets for this


Thanx for your help ! I am waiting for your links :)

nazanin_dnr
Newbie Poster
5 posts since Sep 2004
Reputation Points: 10
Solved Threads: 0
 
Hi everyone I have written an applcation and now its the step that I want to make user authorization ! but I don't know any thing about it ! if anyone knows please introduce me some articles or please guides me ! thanx for your help


hi ,

i am pandian plz tell ur problem clearly whether the authorization through database or thro coding.

with regards
pandian

gspandian
Newbie Poster
1 post since Sep 2004
Reputation Points: 10
Solved Threads: 0
 

hi ,

i am pandian plz tell ur problem clearly whether the authorization through database or thro coding.

with regards pandian

Hi :)
I mean authorization through coding for example for admin or other ordinary users,the privileges should be different,for example ordinary user can not access to some part of application !
Thanx :o

nazanin_dnr
Newbie Poster
5 posts since Sep 2004
Reputation Points: 10
Solved Threads: 0
 
Thanx for your help ! I am waiting for your links :)

am avilable at [email]jijoycl@sify.com[/email]

u can snd mails
bye

tigerxx
Light Poster
35 posts since Sep 2004
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You