Trying to password protect a directory in my portal web server

I have a third party web file manage called ckfinder that i am testing for a client and it works fine. However, when i try to password protect the directory using .htaccess file, it doesn't work. It starts out by kicking me to the SSO logine page, which is fine. But when i put a valid user name and password, it displays a page cannot be displayed error with the url being:
https://infra.portal2.bynum.com:4443/sso/auth
I checked the ssoServer.log and this is what it reads:
Wed Jun 18 16:52:24 CDT 2008 [DEBUG] AJPRequestHandler-ApplicationServerThread-10 FilePolicyManager.getAuthLevel: papp success Url=http://por
tal2.bynum.com/bellin/ckfinder/_samples/php/osso_login_success
Wed Jun 18 16:52:24 CDT 2008 [DEBUG] AJPRequestHandler-ApplicationServerThread-10 FilePolicyManager.getAuthLevel: pappHostPort=portal2.bynum.
com
Wed Jun 18 16:52:24 CDT 2008 [DEBUG] AJPRequestHandler-ApplicationServerThread-10 No auth level found. Returning DefaultAuthLevel
Wed Jun 18 16:52:24 CDT 2008 [INFO] AJPRequestHandler-ApplicationServerThread-10 FilePolicyManager.getAuthLevel returns 40
Wed Jun 18 16:52:24 CDT 2008 [DEBUG] AJPRequestHandler-ApplicationServerThread-10 Requested Auth Level: 40
Wed Jun 18 16:52:24 CDT 2008 [INFO] AJPRequestHandler-ApplicationServerThread-10 Entered SSOLoginServlet: :processSSOPartnerRequest method ..
Wed Jun 18 16:52:24 CDT 2008 [DEBUG] AJPRequestHandler-ApplicationServerThread-10 AuthUtil: SSO Cookie received: null
Wed Jun 18 16:52:24 CDT 2008 [DEBUG] AJPRequestHandler-ApplicationServerThread-10 Current Auth Level: -1
Wed Jun 18 16:52:24 CDT 2008 [DEBUG] AJPRequestHandler-ApplicationServerThread-10 Header Accept: */*
Any ideas??

ok, i found out the problem. My web server was inproperly configured with by SSO Server. I reconfigured the server with the defaults and ran again and all worked fine..

Similar Messages

  • How do I password protect a directory without encrypting everything?

    I'm trying to password protect a directory using the java 1.3jdk. I don't want to encrypt the contents just restrict all access to the directory, other than access via my application.
    The directory should be password protected, which my java application will supply on starting. On shutdown of the computer the directory should revert to password protected.
    Can anyone point me in the right direction.

    I'm trying to password protect a directory using the
    java 1.3jdk. I don't want to encrypt the contents
    just restrict all access to the directory, other
    than access via my application.
    The directory should be password protected, which my
    java application will supply on starting. On shutdown
    of the computer the directory should revert to
    password protected.It's really not clear to me what you're really trying to do, or at what level you're trying to protect at. Your last sentence ("on shutdown...") seems to imply you are after OS-level protection. This is something outside the scope of Java and will depend on your targeted platform.

  • Trying to password protect a file.  Encrypted image created...now what?

    I read this article:
    http://support.apple.com/kb/HT1578
    and I have created an encrypted image (.dmg) with no issue.
    I'm trying to password protect a file on my computer.  It is a Word document.  I can't figure out how to move it to the encrypted image.
    The support article said, "You can move files to or from an encrypted disk image as easily as you can from a non-encrypted disk image."
    I tried dragging the file to the image....nothing.
    Not sure where to go from here.  Thanks in advance for the help.
    Chrystal

    The advice you're getting from mende1 is not accurate. If you accurately followed the directions at that link you gave, the disk image is certainly not read-only! When creating a new disk image, the default is to create a read/write image, so unless you changed that setting when creating the disk image, that's not your problem.
    My suspicion is that you're not using the image file properly. Once you have the disk image file, here's what you need to do to put the Word file in question on it:
    1) Double-click the disk image file that you created. This will "mount" the disk image as a "disk," which will show up on your desktop (if you have the Finder set to show such things on the desktop) or in the sidebar of any Finder window.
    2) Drag the Word file onto the "disk" - NOT the disk image file! It should copy the Word file onto the "disk".
    3) "Eject" the "disk" by dragging it (NOT the disk image file!) to the trash, or clicking the eject icon next to it in the sidebar of a Finder window. Once the disk is ejected, the file is locked and the contents cannot be accessed without the password.
    4) For the most security, put the original Word file in the trash and choose Secure Empty Trash from the Finder menu. Before doing this, though, it would be wise to try to re-open the disk image and make sure you successfully copied the Word file onto it, and that you can open it just fine.

  • I'm trying to password protect a pdf file but I can see the bottom 1/3 of the window - how do I resize

    I'm trying to password protect a pdf file but I can see the bottom 1/3 of the window - how do I resize

    Do you know what the maximum resolution of your screen is?

  • I WANT TO PASSWORD PROTECT MY HOME PAGE ON I WEB..

    I WANT TO PASSWORD PROTECT MY HOME PAGE ON I WEB..
    I used to use a free bit of code called GateKeeper but it wont work on the Mac server any ideas anyone, the wrong people are viewing my photos.
    PAW

    SW1 Lady wrote:
    ...but it wont work on the Mac server
    iWeb's integrated password protection will work on Apple's MobileMe server. See this doc:
    _Protecting a site with a password_.

  • How to Password Protect a Directory so all Files are Protected?

    Hello CFers and Happy Holidays,
    I am moving a web site over from a Linux server over to a
    Windows 2000 server. The site was currently password protected via
    the oh so familiar .htaccess method on the Linux server. Now that
    the site is on IIS on Windows, the .htaccess files don't work.
    I have created a MSSQL database with a users table that
    contains all of the username and passwords that are allowed to
    access the site.
    Normally I would just log users in by querying the database,
    setting a session variable, and then using application.cfm to check
    to make sure the users is logged in. However, in this particualr
    site, most of the files are made up of .htm files which do not get
    processed by the ColdFusion application.cfm tag.
    Several posts indicated that I would need to disable
    anonymous access within IIS and then create the individual user
    accounts within Administrative Tools > Computer Management >
    Users and Groups. However, in this case, I don't want to create
    thousands of new users within windows.
    Is there a way for me to password protect all files within a
    directory while still using the accounts set up in my MSSQL
    database for authentication?
    Thanks,
    David Levin

    > Several posts indicated that I would need to disable
    anonymous access within
    > IIS and then create the individual user accounts within
    Administrative Tools >
    > Computer Management > Users and Groups. However, in
    this case, I don't want to
    > create thousands of new users within windows.
    How many users did you have in your .htaccess config? That's
    how many
    you'd need to set up in IIS. With IIS & file system
    permissions you're
    effecting the same thing you would with Apache's .htaccess
    authorisation.
    Except using GUI tools rather than text files; it's the same
    principle,
    though.
    Or... you could just install Apache and use that instead,
    sticking with the
    approach you're used to.
    Adam

  • Password Protecting a directory (say a htm file on a Y drive)

    Hope someone can help. I am looking to password protect a .htm file in a Y drive directory. I have downloaded some JAVA script but it doesnt seem to work on the destination file (it work on a web page but not on the htm file i want!).
    Someone mentioned a file:// protocol, ring any bells?
    Thanks

    I don't know how to do that but Java programming isn't where I would look for the answer. You do know that Java and Javascript are different languages, right?

  • How to password protect a directory in Tomcat?

    Hi there,
    My configuration is as follows.
    Apache2 + mod_jk + Tomcat 5
    I have enabled the CGI processing servlet (org.apache.catalina.servlets.CGIServlet) in $CATALINA_HOME/conf/web.xml file. Now I can successfully run my perl CGI scripts. All my CGI scripts are located in the directory $CATALINA_HOME/webapps/mywebapp/WEB-INF/cgi/
    I want to secure these CGI scripts by password protecting the above mentioned directory.
    I've read the docs and I think configuring the conf/server.xml file along with conf/tomcat-users.xml file is the best way of doing it. Am I right?? If so, can anyone here please tell me how to proceed with this? What do I need to add to server.xml and tomcat-users.xml to password protect the afore mentioned directory?
    Thank you very much for reading. I really appreciate your response.
    Regards,
    Shashi

    Thanks for a quick reply, Tolmank! You might not be aware of how the CGI servlet shipped with Tomcat works. Here is the relevant portion of the conf/web.xml file for your reference.
    Thanks,
    Shashi
    <!-- Common Gateway Includes (CGI) processing servlet, which supports     -->
    <!-- execution of external applications that conform to the CGI spec      -->
    <!-- requirements.  Typically, this servlet is mapped to the URL pattern  -->
    <!-- "/cgi-bin/*", which means that any CGI applications that are         -->
    <!-- executed must be present within the web application.  This servlet   -->
    <!-- supports the following initialization parameters (default values     -->
    <!-- are in square brackets):                                             -->
    <servlet>                                                               
            <servlet-name>cgi</servlet-name>                                    
            <servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-class>
             <init-param>                                                        
              <param-name>debug</param-name>                                    
              <param-value>0</param-value>                                      
            </init-param>                                                       
            <init-param>                                                        
              <param-name>cgiPathPrefix</param-name>                            
              <param-value>WEB-INF/cgi</param-value>                            
            </init-param>                                                       
             <load-on-startup>5</load-on-startup>                               
    </servlet>

  • Help - Trying to password protect a section of a DW CS4 website

    Iam not sure how to proceed. I have one section that is for employees and I need to password protect it. I don't need it to be indvidual passwords. One will do.
    Thank you for your help. I am completely lost.

    Log into your host control panel and depending on what version your host is running, you should see a way to password protect a folder. You will then assign a username and password. Put all of the files you want to protect into that folder.
    You could also use server side scripting and a database to secure specific pages, but that sounds like overkill for your needs.

  • Trying to get PHP (5.2.5) via Apache Web Server (2.2.13) to work.

    From binaries.
    1. I was able to get the command line execution of 01.php to work with php w/o
    Apache.
    2. I am able to get normal PHP to work in Apache and I'm able to load up some php
    extensions that come with PHP such as php_zip.dll
    which show up as loaded when I execute this php script via the Apache Web server:
    <?php
    phpinfo();
    ?>
    3. I've tried both the CGI method and the apache module method of linking apache to PHP, but
    still get the same following error in my Apache error logs.
    PHP Warning: PHP Startup: Unable to load dynamic library 'C:/Progra~1/Oracle/Berkeley DB XML 2.4.16/bin\\php_db4.dll' - The specified module could not be found.\r\n in Unknown on line 0
    PHP Warning: PHP Startup: Unable to load dynamic library 'C:/Progra~1/Oracle/Berkeley DB XML 2.4.16/bin\\php_dbxml.dll' - The specified module could not be found.\r\n in Unknown on line 0
    4. I've tried to move these two dlls to the /ext directory as well, but no joy.
    5. What confuses me is that it works on the command line, but not through Apache.
    Since they work on the command line, the dlls are proper dlls, correct?
    What could be causing them not to work from Apache?
    6. In my google searching on other php dlls, there are references that certain php dlls are dependent upon other dlls to be in the path. Does anyone know if there are any other dependecies for two dlls in question? And is it that php command line can find these dlls, but when apache starts up, it doesn't have access to these other dependent dlls?
    7. Anyone have any insight, suggestions into this? Behavior?

    I think 5.2.10 has mainly bug fixes in comparison to 5.2.5. If it works, I'd simply assume everything's fine.
    Be aware, though, that there is a general caveat with using DBXML in an Apache/PHP environment. You cannot maintain state at the application level as with a Java application server. On each request, you'll have to reopen the environment and the containers you want to access. So it's not as effiicient as on a more suitable platform. Also, if the need to run recovery arises, it is not clear how you would handle this in a multi-process environment with no built-in means for coordination of those processes.
    Michael Ludwig

  • Download A directory uploaded on a web server...

    We want to down load a directory which is uploaded on a web server... plz if any body can suggest how to do this thrtough servlets or any other method...

    Check out the java.util.zip.ZipOutputStream and java.util.zip.ZipEntry classes.
    Set the content type of your servlet response to "application/zip" and create the ZipOutputStream using the response output stream.
    Then you can create ZipEntries for each file and send them to the ZipOutputStream. Naming the zip entry with DIRECTORYNAME/FILENAME will create the appropriate directory structure.
    For each entry, position the new ZipEntry using the putNextEntry(ZipEntry) class of ZipOutputStream then use the write(byte[] b, int off, int len) method to write the file data. You can load the files into a series of byte arrays beforehand if you like.

  • User Name/Password Protecting a Directory

    I've seen this done without using a server-side scripting
    method, but
    instead using a configuration file to set a user name and
    password for a
    protected directory on an Apache server - where it throws
    back the prompt
    when trying to access it.
    Does anyone know about this "configuration" file that allows
    you to do this?
    Where can I get the file from and edit it?
    Shane H
    [email protected]
    http://www.avenuedesigners.com

    Shane H wrote:
    > I've seen this done without using a server-side
    scripting method, but
    > instead using a configuration file to set a user name
    and password for a
    > protected directory on an Apache server - where it
    throws back the prompt
    > when trying to access it.
    >
    > Does anyone know about this "configuration" file that
    allows you to do this?
    > Where can I get the file from and edit it?
    >
    http://www.bc.edu/offices/help/meta-elements/doc/articles/html/WEB-pwssecurefolder.shtml
    Cheers jojo
    Adobe Community Expert for Dreamweaver 8
    http://www.webade.co.uk
    http://www.ukcsstraining.co.uk/
    Extending Knowledge, Daily.
    http://www.communityMX.com/
    Free 10 day trial
    http://www.communitymx.com/joincmx.cfm

  • Trying to password protect an individual section of my site.

    I'm serving my site off my home computer (not .mac). It seems like the password feature in iWeb only works if you use .mac so I decided to add a .htaccess file in one of the subfolders and I added to appropriate .htpasswd file in the Webserver directory and changed the appropriate sections in the httpd.conf file.
    Now, this approach kind of worked in that I couldn't see any of the pics in the protected section but since the actual .index file is outside that folder you could still read the figure captions with little questions marks for where the images would be. I was expecting my browser to ask for a username and pass. Does anyone know why that didn't happen?

    This add-on may help:
    https://nic-nac-project.org/~kaosmos/morecols-en.html
    I've had this add-on for so long that I can't remember what it does and does not provide.
    If you select a List in your Address Book, so that its contents display at the right, does "Export" not write just the Lists's member Contacts out to the csv file?
    It does here, but this may be thanks to the above-mentioned add-on.

  • Trying to figure out using my macbook as a web server

    So I have Apache and PHP enabled and working with MySQL installed. And I know that I am able to access my IP address and my IP address/~myusername online, but it says I don't have permission to do it. What folder or directory is the internet reading files?? I'm used to having a plain UNIX server running Apache that has a public_html folder that contains all of the files accessible by the internet. What's the equivalent on my macbook? Is there one?

    illinifan339 wrote:
    So I have Apache and PHP enabled and working with MySQL installed. And I know that I am able to access my IP address and my IP address/~myusername online, but it says I don't have permission to do it. What folder or directory is the internet reading files??
    Files accessed using only your server name (or address) are in Library/WebServer/Documents
    Those accessed from /~myusername are in /users/Sites as mentionned by etresoft.
    But Leopard introduced a "mini" problem. You have to verify that in /etc/apache2/users there is a myusername.conf file. If not, copy it from /etc/httpd/users or create it with TextEdit or BBEdit.
    Hope this helps.

  • Lion Server: How can I enable directory listing for the Web Server?

    The functionality was part of the Server App in Lion Server but was not included in Lion.  Can anyone shed some light on how to enable Directory Listing.  Any help is appreciated!

    Go to /etc/apache2 and edit the file 000_any_80_.conf
    using sudo nano command and replace  "-Indexes" with "+Indexes".
    Restart Apache with "sudo apachecrl restart"
    Good luck,
    Ricky
    from Costa Rica

Maybe you are looking for