1. Hey Guest Did you know you can win an Honor 10 phone worth ₹33,000 and an additional ₹70,000 in paytm vouchers, just by replying to some threads and taking part in the discussions happening in the Honor Hub?

    What are you waiting for? Start commenting and start winning! Remember to read the instructions posted here.

    Dismiss Notice

Secure Your Folder!!

Discussion in 'Tutorials' started by Ron, Jan 9, 2007.

Thread Status:
Not open for further replies.
  1. Ron

    Ron ||uLtiMaTE WinNER||

    Joined:
    Nov 12, 2006
    Messages:
    704
    Likes Received:
    6
    Trophy Points:
    0
    Location:
    Kathmandu,Nepal
    Hey frens,
    This may not be a new tactic for most of u guys but still I thought it might be useful for the ones who are not aware of it.
    There is a simple and easy method for securing ur folder……Just u need is a
    • Operating System-Win XP or Later, and
    • New Technology File System (NTFS)
    Steps:
    1.Make a folder in NTFS drive.

    2.Then Right click on it and view its propertie

    3.A dialog box will appear

    4.Now, Click On "Security Tab" and then on "Advanced" button located there

    [​IMG]

    5.A dialog box will appear. Click on "Permissions" Tab and then uncheck the check-box "Inherit from parent the permission entries that apply to child object. Include it with entries explicitly defined here."

    [​IMG]

    6.The moment u uncheck the checkbox, a dialog box appears which will ask u to copy or remove the Permission. Simply click on Remove.

    7.Now click On "OK" BUTTON.

    8.It will ask for Confirmation. Click on "YES"

    9.Again Click "OK" Now, try to access the folder. A message will appear "The folder is not accessible. Access is Denied".
    Additionally u wont be able to cut, copy, delete or see the size of the folder………
    You can also change the folder icon and hide the folder to lock the folder.

    Updated: How to access the folder.
    Steps:
    1.Click on "Properties" and then on Security tab.

    2.Click on "Add" button".

    [​IMG]

    3.Now enter the name of the user who will be authorized to access the folder.

    4.You can search the user name by clicking on "Advanced" button and then clicking on "Find now" button.

    [​IMG]

    5.Select the user name and click OK button thrice.
    ---------------------------------------------------
    Pls Comment On this post……………
     
    Last edited: Jan 23, 2007
    Third Eye, anandk and Kiran.dks like this.
  2. n2casey

    n2casey Super Hero - Super Powers

    Joined:
    Sep 1, 2006
    Messages:
    766
    Likes Received:
    20
    Trophy Points:
    0
    Location:
    Dynamic
    Thx for posting but already knowing that.
     
  3. Kiran.dks

    Kiran.dks New Member

    Joined:
    Apr 3, 2006
    Messages:
    2,494
    Likes Received:
    91
    Trophy Points:
    0
    Location:
    Pune, India
    Yes. It has been discussed here many times.
    However, it is a good info for Beginners here. Keep posting Ron. Reps for you! :)
     
    Last edited: Jan 9, 2007
  4. anandk

    anandk Distinguished Member

    Joined:
    Mar 8, 2005
    Messages:
    3,786
    Likes Received:
    106
    Trophy Points:
    0
    Location:
    Pune
    good. the more u share such, the more u learn :) thanx. [​IMG]
     
  5. OP
    OP
    Ron

    Ron ||uLtiMaTE WinNER||

    Joined:
    Nov 12, 2006
    Messages:
    704
    Likes Received:
    6
    Trophy Points:
    0
    Location:
    Kathmandu,Nepal
    thanks buddy..........
     
  6. OP
    OP
    Ron

    Ron ||uLtiMaTE WinNER||

    Joined:
    Nov 12, 2006
    Messages:
    704
    Likes Received:
    6
    Trophy Points:
    0
    Location:
    Kathmandu,Nepal
    ====
    Pls comment on this post.
    I will be waiting for it….
     
    Last edited: Feb 26, 2007
  7. Tech Geek

    Tech Geek Wise Old Owl

    Joined:
    Sep 21, 2006
    Messages:
    1,602
    Likes Received:
    18
    Trophy Points:
    0
    Location:
    Cyber Hell
    Nice finding
     
  8. n2casey

    n2casey Super Hero - Super Powers

    Joined:
    Sep 1, 2006
    Messages:
    766
    Likes Received:
    20
    Trophy Points:
    0
    Location:
    Dynamic
    @ Ron

    Well I was knowing that but thx for it. Keep posting. :)
     
  9. ax3

    ax3 Cool as a CUCUMBAR ! ! !

    Joined:
    Dec 14, 2003
    Messages:
    5,390
    Likes Received:
    7
    Trophy Points:
    38
    nice 1 ...........
     
  10. OP
    OP
    Ron

    Ron ||uLtiMaTE WinNER||

    Joined:
    Nov 12, 2006
    Messages:
    704
    Likes Received:
    6
    Trophy Points:
    0
    Location:
    Kathmandu,Nepal
    Nice To See Ur Valuable Comment And Feedback........
    ======================
    Pls Reputte Me If U consider My Work.
     
  11. Siddharth Maheshwari

    Siddharth Maheshwari New Member

    Joined:
    Sep 23, 2006
    Messages:
    319
    Likes Received:
    17
    Trophy Points:
    0
    It isnt working i have c drive formatted in NTFS but still the security tab doesnt appears
     
  12. Vishal Gupta

    Vishal Gupta Microsoft MVP

    Joined:
    Jul 28, 2005
    Messages:
    5,173
    Likes Received:
    121
    Trophy Points:
    0
    Location:
    AskVG.com
    ^^
    Just disable the option "Use Simple File Sharing" in View tab of Tools -> Folder Options. ;)
     
  13. OP
    OP
    Ron

    Ron ||uLtiMaTE WinNER||

    Joined:
    Nov 12, 2006
    Messages:
    704
    Likes Received:
    6
    Trophy Points:
    0
    Location:
    Kathmandu,Nepal
    Tutorial:-Secure Your files And Folders

    Guys,
    I am posting this tutorial "Secure Windows Xp Ntfs Files And Shares" again with full details..........( Posted before in Post 1 Of This Thread)
    Source:TechRepublic
    ----------
    Windows XP's NTFS file system, and permissions assigned to folder shares, are designed to protect files and folders from being access by unauthorized parties, whether those parties are internal or external to an organization. Here's how to ensure you're administering NTFS permissions and file shares appropriately.

    File Share Permissions

    Most users begin sharing files with workgroups, or peer-to-peer networks, by following these steps:
    1. Right-clicking the folder containing the documents, spreadsheets and files they wish to share.
    2. Selecting Sharing And Security from the pop-up menu.
    3. Selecting the Share This Folder button from the Sharing tab of the folder's Properties dialog box. (Figure A)
    Figure A
    [​IMG] A folder's Properties dialog box is used to configure share-level permissions for users and groups.
    1. Entering a Share Name for the folder.
    2. Optionally supplying some wording describing the folder's contents within the Comment field.
    3. Clicking OK.
    However, that method won't always work as you intend, especially on Windows XP systems formatted with NTFS (in which conflicting NTFS permissions can prevent an intended user from accessing those resources -- more on that in a moment). Worse, Windows XP's default share permissions behavior is set to provide Everyone with access to the share's contents.
    It's also important to note that Windows XP's Simple File Sharing, enabled by default, must be turned off to specify different permissions for different users. To turn off Simple File Sharing:
    1. Open Windows Explorer.
    2. Click Tools.
    3. Select Folder Options.
    4. Click the View tab.
    5. Within the Advanced Settings window, scroll to the bottom and uncheck the box for the Use Simple File Sharing (Recommended) option.
    6. Click OK.
    To remove the Everyone permissions, and specify varying access permissions different users should receive to a file share:
    1. Right-click the folder you wish to share.
    2. Select Sharing And Security from the pop-up menu.
    3. Click the Permissions button. The Permissions ForFolderName dialog box will appear. (Figure B)
    Figure B
    [​IMG] Share permissions are configured using the Share Permissions tab (reached by clicking the Permissions button from a shared folder's Properties dialog box.
    1. Highlight Everyone from within the Group Or User Names window.
    2. Click the Remove button.
    3. Click the Add button. The Select Users Or Groups dialog box will appear. (Figure C)
    Figure C
    [​IMG] Specify users and groups by entering them in the Enter The Object Names To Select window and clicking OK.
    1. Within the Enter The Object Names To Select window, specify the users' names for whom you wish to provide access, then click OK.
    2. Highlight (within the Group Or User Names window) the names of the users and groups you selected and specify the appropriate permissions (Allow or Deny for Full Control, Change and Read are the options that appear) within the Permission For Username or Group dialog box.
    3. Click OK to apply the changes and close the dialog box; click OK to close the FolderName Properties dialog box.
    The Full Control permission enables a user or group to read, write, delete and execute files within the folder. Users possessing Full Control permission can also create and delete new folders within the share.
    The Change permission enables a user or group to read and change files within the folder and create new files and folders within the shared folder. Users with Change permission can also execute programs within the folder.
    The Read permission, meanwhile, enables a user or group to read files within the share and execute programs located within the folder.
    Windows XP systems formatted with the NTFS file system provide additional permission settings. The next section reviews configuring NTFS permissions.

    NTFS Permissions


    Windows NTFS permissions provide a host of additional permissions options. In addition, NTFS permissions can be applied to a single file or folder.
    Before configuring NTFS permissions, first ensure the Windows XP system is configured to use the NTFS file system:
    1. Click Start.
    2. Click Run.
    3. Type compmgmt.msc and click OK. The Computer Management console will appear.
    4. Highlight Disk Management within the Storage section to learn the file system in use for each of the system's drives.
    If a hard disk or partition isn't formatted using NTFS, you can upgrade the disk by typing convert X: /fs:ntfs where X denotes the drive requiring the upgrade. Using the convert command, you can upgrade a drive to NTFS without losing its data. However, it's always best to confirm you have a working backup on hand before executing the command.
    To configure NTFS permissions:
    1. Right-click the file or folder you wish to share.
    2. Select Properties from the pop-up menu.
    3. Click the Security tab.
    4. Use the Add/Remove buttons to add and remove permissions for users and groups.
    5. Highlight the respective user or group within the Group Or User Names window and specify the appropriate permissions from within the Permissions For User/Group window using the provided Allow and Deny checkboxes. (Figure D)
    6. Click OK to apply the changes.
    Figure D
    [​IMG] NTFS permissions permit applying more granular rights, as compared to folder shares.

    Note that, by default, subfolders will inherit permissions from parent folders. To customize permissions inheritance, click the Advanced button found on the share or filename's Properties dialog box.
    Several NTFS permissions are available:
    • Full Control -- enables a user or group to perform essentially all actions, including view files and subfolders, execute application files, list folder contents, read and execute files, change file and folder attributes, create new files, append data to files, delete files and folders, change file and folder permissions and take ownership of files and folders.
    • Modify -- enables a user or group to view files and subfolders, execute application files, list folder contents, view file and folder attributes, change file and folder attributes, create new files and folders, append file data and delete files.
    • Read & Execute -- enables a user or group to view files and folders, execute application files, list folder contents, read file data and view file and folder attributes.
    • List Folder Contents -- enables a user or group to navigate folders, list folder contents and view file and folder attributes.
    • Read -- enables a user or group to view a folder's contents, read data and view file and folder attributes.
    • Write -- enables a user or group to change file and folder attributes, create new files, make changes to files and create new folders and append file data.
    To determine a user's ultimate resulting permissions, add all the NTFS permissions granted to a user directly and as a result of group membership, then subtract those permissions denied directly and as a result of group membership.
    For example, if a user is explicitly granted Full Control but is also a member of a Group in which Full Control is denied, the user will not receive Full Control rights. If a user received Read & Execute and List Folder Contents in one group but was also a member of a group that had List Folder Contents denied, the user's resultant NTFS permissions would be only Read & Execute. For this reason, administrators should carefully apply Deny permissions, as the Deny attribute overrules any equivalent instances of Allow when the two rights are applied to the same user or group.
    Windows XP includes an effective permissions tool you can use to help verify the permissions a user or group receives. To access the tool:
    1. Open the folder or filename's Properties dialog box.
    2. Click the Security tab.
    3. Click the Advanced button. The Advanced Security Settings For File/Foldername will open.
    4. Click the Effective Permissions tab. (Figure E)
    5. Click the Select button.
    6. The Select User Or Group dialog box will appear.
    7. Type the group or username whose permissions you wish to confirm in the Enter The Object Name To Select window and click OK.
    8. The Advanced Security Settings For File/Foldername dialog box will display the resulting NTFS permissions for that user or group.
    Figure E
    [​IMG] The Effective Permissions tab helps simplify determining a user or group's actual permissions.

    Combining Share and NTFS Permissions


    It sounds straightforward. Configure the permissions you want and a user is good to go. But there's one additional catch to keep in mind. Folder share and NTFS permissions must combine to determine the actual rights a user or group receives. Unfortunately, they often conflict.
    To determine the ultimate permissions a user receives, take the user or group's resulting shared permissions and compare it with the user or group's resulting NTFS permissions. Note that the most restrictive of those rights will prevail.
    For example, if a user's resulting NTFS rights are Read and Execute and the same user's resulting share permission is Full Control, the user will not receive Full Control. Instead, Windows calculates the most restrictive of the two resulting rights, which in this case is the NTFS permission of Read and Execute.
    Remember that, to determine a user or group's ultimate resulting permissions, the most restrictive of the resulting NTFS and share rights applies. This is an important lesson that's easily forgotten but that quickly leads to frustration for users, so be sure to spend time up front properly calculating share and NTFS permissions.
     
    Last edited: Mar 4, 2007
  14. piyush gupta

    piyush gupta New Member

    Joined:
    Sep 8, 2005
    Messages:
    1,284
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    never land
    Already known but Nice post ron rep u
     
  15. OP
    OP
    Ron

    Ron ||uLtiMaTE WinNER||

    Joined:
    Nov 12, 2006
    Messages:
    704
    Likes Received:
    6
    Trophy Points:
    0
    Location:
    Kathmandu,Nepal
    thnxs piyush........
     
  16. casanova

    casanova The Frozen Nova

    Joined:
    Sep 25, 2004
    Messages:
    1,641
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Trespasser in Virtual Land
    And what wud happen if we reinstall windows or dual boot say xp and vista.
     
  17. EagerBeaver

    EagerBeaver New Member

    Joined:
    Aug 17, 2006
    Messages:
    112
    Likes Received:
    2
    Trophy Points:
    0
    Yr post rox man, repg ya.
     
  18. OP
    OP
    Ron

    Ron ||uLtiMaTE WinNER||

    Joined:
    Nov 12, 2006
    Messages:
    704
    Likes Received:
    6
    Trophy Points:
    0
    Location:
    Kathmandu,Nepal
    Thnx buddy.....
     
Thread Status:
Not open for further replies.

Share This Page