Directory Security set through ASP?

G

Guest

I would like to use ASP in a web page to modify the "Directory
Security" settings of IIS. In Directory Security under "IP Address and
Domain Name Restrictions" you have the ability to add an IP address of
someone to ban from the web server. Does any ASP code exist to actually
add a number into that field from the ASP automatically?

This would allow the perfect honeypot web page situation.

Please respond to the group only.
 
K

Kyle Peterson

My opinion but you probably will not find anything and if you do good luck
getting it to work.
Thats a pretty tall order. Not saying it isn't possible somehow but a lot of
things will have to be worked out and it will probably need to be your own
server to do some of them.
 
C

Chris Hohmann

I would like to use ASP in a web page to modify the "Directory
Security" settings of IIS. In Directory Security under "IP Address and
Domain Name Restrictions" you have the ability to add an IP address of
someone to ban from the web server. Does any ASP code exist to actually
add a number into that field from the ASP automatically?

This would allow the perfect honeypot web page situation.

Please respond to the group only.

Here's an example from MSDN:

Setting IP Security Using ADSI

http://msdn.microsoft.com/library/en-us/iissdk/html/ac1cfc44-d09c-4297-accf-ab49880441ca.asp

Note: Changing "WScript.Echo" to "Response.Write" is left as an exercise for
the reader. ;)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,151
Latest member
JaclynMarl
Top