Password protected directory

I run a community website with a members area protected by a .htpasswd file. It has always worked fine. If you cancel the password request, diverts to an 'error' page (401 divert) as specified within the .htaccess file in the protected directory.
If you then try to access the protected directory / members area again, Firefox lets you in and protected information is visible.
This doesnot happen in IE8, or Chrome. It worked fine in FF3, I never tested it in FF4 but it is definitely broken in FF5. Appears to be a bug?

>I am setting up a password protected area of a website.
How do you set up another directory in Dreamweaver?
In the site panel, just select the root folder, right click
and select New Folder.
>Do I need to store all my 'password protected' files in a
completely new folder from my existing website folder?
Files you want to protect should go into a sub folder within
your defined site.
> Is the process the same as setting up a new website in
Dreamweaver?
No, you don't need to setup a new site. Just create a
specific folder within the site for storing protected
documents.

Similar Messages

  • Create password protected directory

    Hi, everybody, i've got just one question:
    is there any way to create a password protected directory, using java.
    Or maybe i need to use some system tools. Whatever, i have like no idea, how i can do that.
    Would be thankfull for any answer =)
    P.S. I know the platform, it going to run on: Windows XP sp2
    Maybe i posted this theme in the wrong thread - then please help me and give an advice^ where it should be posted.
    Edited by: Antilless on Sep 10, 2010 10:05 AM
    Edited by: Antilless on Sep 10, 2010 10:06 AM

    Antilless wrote:
    Hi, everybody, i've got just one question:
    is there any way to create a password protected directory, using java.
    Or maybe i need to use some system tools. Whatever, i have like no idea, how i can do that.
    Would be thankfull for any answer =)
    P.S. I know the platform, it going to run on: Windows XP sp2
    Maybe i posted this theme in the wrong thread - then please help me and give an advice^ where it should be posted.You can't really password protect folder in Windows without using special tools, you can however
    1) Make folders accessible to one or more users (and deny other users access)
    This can be done on the commandline using the cacls tool
    2) Encrypt files or folders so that only specific users can decrypt them
    This can be done on the commandline using the cipher tool
    For more advanced options you will probably need to make use of third party tools.

  • Is There a way I can make a free password protected website with iWeb?

    Hi!
    I've been thinking to myself, "I want to make a free website". But I want it passcode protected and free. I am a mac kind of person so is there a way I can make a free passcode protected website with iWeb? I knwo you use to be able to do it with MobileMe, but that's outdated now so could someone please help!

    No, you cannot password protect a website with iWeb.
    And no, you don't have to be a Mac kind of person either.
    So how do they do it?
    http://www.thesitewizard.com/apache/password-protect-directory.shtml
    More if you search for it :
    https://www.google.com/search?q=password+protect+website

  • Password protection in Dreamweaver?

    Is a person able to password-protect his website with the tools available in Dreamweaver? I'd like to have a field on my index page where a person must input a password to proceed. Even better would be to have the entire website password-protected - preventing a person from getting a link within the website and being able to freely browse beyond the index page (but I'll take what I can get).
    Thanks!

    Follow the instructions shown in the screenshot in the Server Behaviors tab:
    "To use dynamic data on this page:
    1. Create a site for this file (has been done-hence the tick)
    2. Choose a document type
    3. Set up the site's testing server"
    Note the testing server will only work on your local machine.
    To get login working on your remote site, you'll have to set up the Remote Site in a similar manner.
    As a more rudimentary alternative approach, you can place the pages you want to protect in a password protected directory on the server and let the server handle the username/password via a dialogue box which will appear when you try to browse to a protected page.

  • Password protected web page

    Hi,
    Is there any way to make one page password protected using javascript or php?
    Thanks

    For one page, set up a password protected directory/folder on your server and put your protected page in that directory/folder.
    If you have cPanel or Plesk access on your server, you can do this yourself.
    Otherwise ask your host to set it up for you. Takes no more than a minute or so.

  • JWS 1.2 and passworded server directory--working?

    Hi Folks,
    Does JWS 1.2 behave itself when the JNLP is on a password-protected directory. The explanation of the bug "fix" in the Release Notes is, shall we say, ambiguous.
    Can anyone tell me if this is now working correctly?
    Thanks,
    John

    Using public 1.4.1 Beta (with latest JWS), it looks to us that this is pretty much fixed. Another goodie is that JWS supports HTTPS codebase, so these Basic Auth credentials are SSL encrypted as well.
    We're hoping 1.4.1 is bug-free enough for us to deploy on... Our apps did not get along with 1.4.0's bugs.
    Good luck,
    Chris

  • Password protected page not working

    HI,
    I have to password protect a single page (out of 3-4 pages) on a site.  http://www.antlersowners.com/members.html
    I used javascript because I didn't see a way in DW to password.  Some users can get in - but others using IE8 cannot!
    My question is: what is the best way to password a single page.  Can I do it via DW.
    BElow is the code for the page, I've set the link up to go to the javascript page which THEN goes to the html page.
    Any help you can offer will be greatly appreciated.  Jane
    Code below:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>password required</title>
    </head>
    <body>
    <SCRIPT>
    function passWord() {
    var testV = 1;
    var pass1 = prompt('Please Enter Your Password',' ');
    while (testV < 3) {
    if (!pass1)
    history.go(-1);
    if (pass1.toLowerCase() == "gazebo") {
    alert('You Got it Right!');
    window.open('members.html');
    break;
    testV+=1;
    var pass1 =
    prompt('Access Denied - Password Incorrect, Please Try Again.','Password');
    if (pass1.toLowerCase()!="password" & testV ==3)
    history.go(-1);
    return " ";
    </SCRIPT>
    <CENTER>
    <FORM>
    <input type="button" value="Enter Protected Area" onClick="passWord()">
    </FORM>
    </CENTER>
    </body>
    </html>

    I used javascript because I didn't see a way in DW to password.  Some users can get in - but others using IE8 cannot!
    My question is: what is the best way to password a single page.  Can I do it via DW.
    As the others have said, forget about using client-side Javascript for any form of security. It achieves nothing and is easily circumvented.
    At most, you would only use Javascript in the browser for basic validation of data entered by visitors (e.g. have the minimum required fields been filled out?). Nothing else. But in simple cases like this, I would not even bother with that. Security procedures must always be done on the server and this can take many forms from simple to complex.
    My first port of call in simple situations such as yours is to go to the hosting panel on the website and set up a password protected directory/folder. Then upload your sensitive page to that folder. That's all you need to do.
    The server will then launch a dialogue box requesting a username/password from anyone trying to access that page.
    If you don't have access to a hosting panel then ask the website host to set up a password protected folder for you.

  • Access password protected driectory (Plz answer this)

    Hi
    I need to know that how can we read a file from the password protected directory through JSP.
    The JSP and the directory are on the same server, but the directory is password protected.
    I am using tomcat, and even when I upload files through JSP the JSP can not access the directories as they are password protected.
    How can we pass the username and password in our servlet/Jsp to pass (LOG) into the directory and read/write the file.
    Thanks Saulat

    well some body tld me that may be I have to use Access control lists, one of my freind told me that this problem was faced by them in early 90's when jdk1.1 was released and he said that thr was nothin such facility provided by Java, so they use C++ to do this job and interfaced it with Java.
    But now I think they should hav given some thin to solve this problem

  • 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

  • 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..

  • 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

  • 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?

  • Password protect a single directory

    How do I password protect a single directory in finder. I want it to ask for a password before it can even show the contents.

    Well, I use Windoze too, but have been a Loyal Mac user for 4 years, just dropping a bundle on a new 17MBP. I actually didn't realize you could password protect a single directory on Windows. When I needed that before, I dumped files into a password protected ZIP file, and had a program on my Windows box that would show Ziped files as directories and subdirectories.
    Are you thinking I am a Windows user because I said "Directory" instead of "Folder"? I can't seem to switch my terminology since I started with DOS ages ago.
    I thought that since OSX had an underlying UNIX file system that a single password protected folder would be possible. I don't know much about unix, but have used Linux and shell for some websites and that allows individual folders to be password protected.
    Thanks,
    Kirk

  • Apache web directory password protection

    Hello all,
    I seem to be having a problem password protecting a web directory. I have my .htpasswd file and all of my directory info set up in my httpd.conf file but when I go to this directory via the web, I get prompted for a username and password but when I enter my username and the password that is in my .htpasswd file, it simply keeps prompting me for my password as if the user or the password is incorrect. Can anyone give me any hints as to how I can fix this?

    lovell,
    hi. glad you got it working. as for setting the permissions...
    for our server, which is FreeBSD but essentially no different, i setup basic auth directories as follows:
    username = My Admin User in all cases. I am assuming that www is the owner:group of the server process.
    I chown -R the directory to username:www. I then set the permissions on the directory to 0750 which allows rwx for the user and r-x for the group. the execute bit should be set on the directory to allow traversal by the webserver.
    as for the files in the directory, the chown -R of the directory should set all content ownership to username:www. Then I chmod all contents to 0640. this allows the owner to read and write and the webserver to read only. this does not allow any permission for folks outside of the owner or members of the www group (e.g. via terminal or ssh).
    now, the auth method of the webserver should be able to determine who has read access to the files. in your case, this is for the user 'lmcilwain'. e.g. only the user entering the proper credentials into the authorization box should be able to view the files (at least through their browser).
    remember, too, that basic auth passes passwords in plain-text, so if bad people want to intercept your password and username, they can do this if they really want to.
    that being said, basic auth is ok for things like pdf documents and whatnot. i wouldn't put anything terribly important in a directory 'protected' by basic auth, however.
    cheers,
    b
    some macs, some bsds, some tuxs   Mac OS X (10.4.4)  

  • 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.

Maybe you are looking for

  • Early 2011 MBP 13 random reboots (no Kernel Panic logged)

    Hi, Problem Description: My MacBook Pro randomly reboots at least 1-2 times a day. I cannot find a kernel log because each restart is a double one. Let me explain the problem further : 1. Im doing something (nothing specific..no specific app) on the

  • Why can't I access the Google site? None of the suggested remedies worked.

    I signed in to my Google calendar account and got an error message saying there was a problem with my cookies and I should clear my cache. If that didn't fix the problem, I should disable cookies. I followed these instructions and the problem was not

  • Differences between Oracle 8i for a UNIX Platform and Oracle 8i for a Linux Platform

    Hello, J would like to know if there are some differences between Oracle 8i for a UNIX Platform and Oracle 8i for a Linux Platform. I know that there are some differences on Oracle 8i Parallel Server and i know that some products are not include like

  • Mail Merge in Acrobat 9 Professional?

    Hi, All! I have been told that I can perform a mail merge similar to MS Word from within Acrobat Pro 9. The main document (with merge type fields) needs to be an Acrobat .pdf. The data source can come from an external file. The key is that the merge

  • Looking for plugins & downloads

    Can anyone recommend any sites for getting some plugins and downloads - prefereably free? I'm running Logic Pro 6.4.3 on a 1Ghz G4 with 1 Mb RAM - Someone mentioned AU plugins? I would particularly like interesting keyboard sounds - Mellotron, Choirs