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.

Similar Messages

  • How to create password protected folder (with unlimited storage) on Mac?

    I want to create password protected folder on my mac. I tried the method where you create a dmg file and mount it whenever you want to use the folder and unmount it when you don't. However, this method only lets me store, for example, 2 gb data. I cannot store beyong that level as an error message pops up saying... "the following files cannot be copied because there is not enough storage space in the dmg file"
    How can I create a passpord protected folder which can store as much available space that is on my mac?
    Is there an application that does that? Suggest me some names if someone already is using something like that.
    Thanks much!

    You need to choose the size of the image when you create it. If you are getting that message, you only set the image to hold 2GB of data.
    If you choose a Sparse Disk Image or a Sparse Bundle Disk Image, you can set it to any size, however, it will only be able to store up to the space available on your Hard Disk. Physically, it will only be the size of the stuff you saved into it, but It doesn't shrink automatically when you remove things.
    A Sparse Bundle differs from a Sparse Image in that it writes the contents to small files so that when Time Machine sees changes, it only backs up the small file change, not the 100 GB (or whatever) of the total image size.
    Notice that having created a 10 TB disk image (as shown above), there is only 80 GB available on the mounted image as that is all the space I have available on the 500 GB drive.

  • Creating Password Protected MS WORD File

    Hi,
    i reported a program which creating password protected ms excel file using OLE2 objects in local harddisk of computer.
    can i report same program with ms word file?
    Can somebody help me pls?
    Thanks.

    Hello,
    This is what you require
      GET PROPERTY OF word 'activedocument' = actdoc .
      CREATE OBJECT word 'WORD.APPLICATION' .
      IF sy-subrc NE 0 .
        MESSAGE s000(su) WITH 'Error while creating OLE object!'.
        LEAVE PROGRAM .
      ENDIF .
      GET PROPERTY OF word 'documents' = documents.
      CALL METHOD OF documents 'Add' = newdoc.
      call method of newdoc 'Activate'.
        CALL METHOD OF actdoc 'SaveAs'
        EXPORTING
          #1 = 'C:\file.doc'          "filename
          #2 = 1                      "fileFormat
          #3 = 0                      "LockComments
          #4 = 'passopen'             "password to open a workbook
          #5 = 0                      "AddToRecentFiles
          #6 = 'passmod'.             "password for write access

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

  • Creating password protected PDF

    I can create a pdf file using com.lowagie.text.pdf.PdfWriter and other classes in com.lowagie.text
    But I want to make my PDF password protected. Is there any way to make it password protected while using com.lowagie.text API.

    I could link you to the page that gives the answer directly, but I feel it is my duty to inform you that google will provide the answer with a very simple query: "iText password protected PDF" gave me the answer in a second.

  • How to create password protected zip in java?

    I want to create a password protected zip file in java...java.util.zip does not support this...how to do this???
    Someone please help...

    Thanks for Reply"[email protected]"
    Till today whatever i got is this------
    In java there is no way to make a password protected zip...java.util.zip package does not support this thing...
    To do this we require Third party API---
    Two third party Api i got...
    one is "CHILKAT API for java"
    and another one is "IPWORKS"http://www.componentsource.com/products/ipworks-zip-java-desktop/index.html
    but both of these API are paid...
    Even this problem has been reportd as bug in the bug database....
    And the other way is related with Class Process Builder of java...
    If someone knows more about this then tell me...

  • Creating password-protected or hidden folder

    Dear all,
    I wonder if someone can help me create a password-protected and/or hidden folder where I can put some sensitive files.
    Thanks much,
    R

    Use an encrypted disk image or a third-party method. Placing the password in the keychain will automatically unlock the image when your Mac OS X account is active.
    (52406)

  • Create password protected website

    Hello there,
    Does anyone know how I may be able to create a password
    protected website in Dreamweaver, Flash, or Fireworks? I have
    already built the website and it is live. But the owner would like
    a password protected page so their employees can access PDFs etc.
    Any feedback, advice or webpage tutorials would be awesome help.
    Thanks so much.
    Lorne17

    > I'd appreciate any feedback.
    You can do this using server scripting - ASP/ASP.Net/PHP/CF
    for example.
    The trick is to know a) which are supported by your host, and
    b) which are
    supported by your brain....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "lorne17" <[email protected]> wrote in
    message
    news:fme0gt$h6f$[email protected]..
    > Yes the host has a control panel and I did happen to get
    a folder password
    > protected.
    >
    > Now I have one more question. Now that I've done this I
    am curious to
    > know if
    > it is possible to have an index page that lists all the
    files in this
    > protected
    > folder? So that the users that login can easily click
    and download the
    > files
    > necessary. I would like to have the files updated in the
    list
    > automatically
    > when files are added. So we don't need to update the
    list's html every
    > time a
    > file is added? I'd appreciate any feedback. Thanks.
    >
    > Lorne
    >

  • Creating password protected text fields

    Hello, I need to make a form that if a password is entered, all text fields are available to be filled out and if no password is entered, then only a few chosen text fields can be filled out. I have searched many places and have come close to the answer but have still fallen short of my goal.
    thank you

    Here is one example to look at...
    You can use this on a click of a button.
    //JavaScript
    var pWord = "AbCdEf" //set your password
    var requestpWord = xfa.host.response("Please enter your password.")
    if (pWord == requestpWord) {
    this.presence = "hidden"; //hide this button
    //write your code to enable all the text fields
    }else {
    //write your code to enable only fields tha you want.

  • How do i create a password protected PDF file?

    Hello,
    I am working with VB6.0 and I have a requirenment to create a password protected pdf file in vb6.0.
    I have successfully created a PDF file but how do i make it password protected?
    Thank,
    Krunal

    Hi lrosenth,
    Thanks for the reply.
    Is there any other way that i can create password protected PDF in VB6.0?
    Thanks,
    Kkakadiya

  • 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 Excel sheet on the application server (dataset)

    How can I create password protected excelsheet on the application server? Is it possible through DATASET?
    How can I modify below statement to create xls password protected?
    OPEN DATASET dest FOR OUTPUT IN BINARY MODE.
    Regards
    K

    could you ask moderator (via abuse button) to move it to the ABAP forum?
    Edited by: Sandra Rossi on Nov 23, 2009 1:13 PM

  • Password Protected PDF using iTextSharp

    hello
    i create pdf files using iTextSharp in vb.net . 
    i did it but now i need to create these pdf files as password protected and i can't find any method for this,
    how can i create password protect a pdf using iTextSharp ?

    That is better suited to itextsharp support, I don't think it is a vb net issue.
    Edit, here is a sample:
    Imports ITextSharp
    Imports ITextSharp.text
    Imports ITextSharp.text.pdf
    Imports System.IO
    Imports System.Text
    Public Class Form1
    Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
    Dim doc As New Document(ITextSharp.text.PageSize.LETTER, 10, 10, 42, 35)
    doc.AddAuthor("Jerry O'Brien")
    doc.AddCreator("The Creator")
    doc.AddSubject("ITextSharp Sample")
    doc.AddTitle("A treatise on the production of Portable Document Format files")
    Dim writer As PdfWriter = PdfWriter.GetInstance(doc, New FileStream("D:\sample.pdf", FileMode.Create))
    Dim Upass As String = "MumboJumbo"
    Dim OPass As String = "HeebieJeebie"
    Dim userpass() As Byte = Encoding.ASCII.GetBytes(Upass)
    Dim ownerpass() As Byte = Encoding.ASCII.GetBytes(OPass)
    writer.SetEncryption(userpass, ownerpass, 255, True)
    doc.Open()
    Dim para As New Paragraph("This is my first paragraph")
    Dim pharse As New Phrase("This is my first phrase" & vbNewLine)
    Dim chunk_ As New Chunk("This is my first chunk")
    doc.Add(para)
    doc.Add(pharse)
    doc.Add(chunk_)
    doc.Close()
    End Sub
    End Class
    FYI - I have NO IDEA what the 255 and True mean, I just put something in there that fit.

  • Password protected Excel file generation using Java

    Hi,
    I want to create password protected excel file using Java. So when you manually open this file it should prompt for password.
    There are APIs but they are licensed and are for trial period. I want solution which is free.
    I need this solution urgently..
    :-)

    Swati.S wrote:
    Hi Administrator,
    Moderator. Administrators post with the Sun logo.
    I'm sorry I wasnt aware that we cannot have off forum communication. Can you please communicate how I can spread this message taht solution for this is available.If you like, you can post the code here or on [SDN Share|http://sdnshare.sun.com/]. Apart from that, there's no shortage of blog sites.

  • Password Protected Pages?

    Can I create password protected pages within iWeb? Or, do I need to use a more advance web editor? I've created password protected web pages before using templates provided by my webhost and was just wondering if this is supported in iWeb.

    No, iWeb does not support this. You can password protect your whole site, but only if you publish to MobileMe.
    You are best doing this via your server and perhaps not using iWeb.

Maybe you are looking for