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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automating the detection of IIS permissions

Status
Not open for further replies.

kav123

Programmer
Jan 12, 2005
210
GB
I am trying to run a series of tests for a web portal, that it can access the database(Access), before the users actually start to use it. One of the things i need to test is whether the portal, can access the database when it is on a network(mostly LAN). Now, one of the tests related to the IIS, is that whether it has the right domain user, who can access the database over the network. Now is there a way i can automate this i.e. in a VB program/ or run an asp page to detect whether the user has right permissions or not??
 
You might want to look into the cacls command and perhaps integrating it into a script. Using cacls you should be able to display the ACL information to see who has permission to a specific file.
 
Can you tell me more about it or where can i know more about it.
 
Go to a command prompt and type cacls /?
Another great reference is the O'Reilly command line reference, all their books are good :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top