Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

User logon in asp?

Status
Not open for further replies.

modalman

Programmer
Feb 14, 2001
156
0
0
GB
How do I get my asp to logon as a certain user which will then give it permissions to write files etc. Thanks in advance.
 
Get your asp to logon???

Do you mean, you want to assign different levels of permissions to different users, and then afford them certain rights and privelages according to their login??

If so, then just set a session variable like this:
session("login") = theVariable

and then check it on every page like this:
login = session("login")

in order to decide what rights and privelages that person has.

good luck! :)
Paul Prewett
 
Hi,

This must be set on the server! I think you must have a NT based OS, or other that set permissions to users.
One way is doing it directly on the webserver. The other is changing file permissions on the disk, only that user can read the file and must have permissions to write on disk!

Regards,
Luís Silva
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top