Results 1 to 2 of 2

Thread: Get IP Address of request in an XML Web Service

  1. #1

    Thread Starter
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359

    Get IP Address of request in an XML Web Service

    Righty. I have an XML Web Service that checks stock and prices directly through to our suppliers. I'd like to ensure that only requests from localhost are processed - i.e. do not allow anything to query the DB except the website itself.

    I cannot however access the Request object from inside the web service, so how can I access the source IP?
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  2. #2

    Thread Starter
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    I've actually moved a load of common methods etc. into one single web service that's residing inside a different project. So I can now specify through IIS the access rights to that folder
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width