c# - Make a page to be accessible only from server -
i have pages executed scheduled tasks regularly on server. how can make these pages accessible server? want if page url used anywhere other server should return empty page.
by way, don't want compare request.servervariables["remote_addr"]
hard coded ip address
edit after original question edited:
create second web app on port that's not open.
original answer:
looks ip request comes. if different server's ip, reject call.
here's how can ip how user's client ip address in asp.net?
Comments
Post a Comment