Hi

what i wud like to know is that is it possible to get different pages on the basis of NT user login.As soon as the user is logged into the NT network the web pages he views on the intranet portal should be pertaining to the rights that are allowed for his login ID

    Yes that is the way to works today. If you use IIS for example and protect the PHP pages using nt users and or groups - you can check $REMOTE_USER and personalize content according to which user it really is. I think that is what you want right?

    RW

    ===========================================
    http://badblue.com
    Free small footprint web server for Windows

    P2P file-sharing, PHP, wireless apps & more

      Thanx for the reply.
      Cud u be alittle more elaborate on this and tell me exactly how to go about it .
      whAT I am looking for is displaying different pages to the users on the basis of the NT login,the pages can be html or asp pages but the user should be authenticated only once as he logs onto the network system.Then the content available to him is defined clearly as per his login rights.
      Are there some settings that i can specify on IIS or may be the windows nt4 or windows 2000 or is there soem code available for that .
      Thankx

      Randy wrote:

      Yes that is the way to works today. If you use IIS for example and protect the PHP pages using nt users and or groups - you can check $REMOTE_USER and personalize content according to which user it really is. I think that is what you want right?

      RW

      ===========================================
      http://badblue.com
      Free small footprint web server for Windows

      P2P file-sharing, PHP, wireless apps & more

        Well you're asking some general NT and IIS questions. You can use general sharing - right click on the INETPUB folder and then select sharing - to let you define which users or groups can get in to see the folder or pages. Its just basic Windows Explorer stuff - defining which users and groups get access. You need to play with the sharing tab of your file or folder properties to see how this works. Once your sharing properties are set up right then you can use $REMOTE_USER variable in PHP to figure out which user is accesing the page and modify the content accordingly. Basically my advice is to experiment with file sharing and then to start playing with $REMOTE_USER so you can see what can be done.

        RW

        ===========================================
        http://badblue.com
        Small footprint P2P web server for Windows,

        Share files, get PHP up and running fast...

          what i am asking is not the access right and the sharing concepts
          what i intend to build is that once the user logs in into the NTsystem and he accesess some defult web page which has the windows NTLM challenge enabled the system will check for his permissions and on the basis of that log in ID,and the web page he views shud be different.

          A simple example wud be if some group <HR group>has a manager and an executive the pages that come for them on the website on the click of some hyper link say Human resource the files taht they view shud be particual to them depending on what they can see ...i will build two different pages for them but the guy shud be able to c them as per his login id into the NT system and he shud not be authenticated again n again .
          Can u help me on this ...

            Write a Reply...