|
it
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Tie a file an IP addressPlease i would like to know if it is possible to restict a file to an
IP address. i.e: It would only open on a system based on its IP address. Thanks. creamy wrote on 31 jul 2006 in microsoft.public.inetserver.asp.general:
> Please i would like to know if it is possible to restict a file to an If you mean based on the remote client's IP address,> IP address. i.e: It would only open on a system based on its IP > address. Thanks. [insofar as no proxi is used by the cliest] and by "open" "showing it's rendered content": <% 'vbscript q = request.servervariables("remote_addr") If q <> "123.456.789.123" then server.transfer "\404.asp" %> <html> <body> My terrible secrets ..... -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress) "creamy" <blackdevil_he***@yahoo.com> wrote in message In IIS Manager find the ASP file or folder that you want to restrict accessnews:1154337475.811605.58270@m79g2000cwm.googlegroups.com... > Please i would like to know if it is possible to restict a file to an > IP address. i.e: It would only open on a system based on its IP > address. Thanks. > to. Open properties and selecte security tab In IP address and domain name restrictions click edit... Ensure Grant Access is selected then click Add.. Add the IP address or range of address you want to give access. Anthony.
Other interesting topics
New record every week?
Destroying a Session 'object required' error using FileSystemObject ASP Excel worksheet ASP page that calls ActiveX object fails under x64 IIS 6 ASP Different Results In Firefox And IE ! Is this how session and application variables work? Dictionary object Call a javascript function from ASP page CodePage=65001, breakpoints not right |
|||||||||||||||||||||||