Showing posts with label File permission management. Show all posts
Showing posts with label File permission management. Show all posts

Friday, July 16, 2010

How to share a folder to have a hidden feature in Windows Server 2008

Turn on ABE (Access Based Enumeration).

There are four methods to enable a file share in Windows Server 2008.

Two of them will enable ABE by default.

For more information:

http://msmvps.com/blogs/erikr/archive/2008/06/28/access-based-enumeration-abe.aspx

Remark:

The Access Based Enumeration is filters shared folders visible to a user based on that individual user's access rights, preventing the display of folders or other shared resources that the user does not have rights to access. ABE can be accessed via graphical user interface (GUI), command-line executable tool, and a robust advanced programming interface (API).

It start from Windows Server 2003 SP1 support this feature.

Print Friendly and PDF
Share/Bookmark

Thursday, June 17, 2010

Create folder with permission and map drive by username

Create folder with permission

 

@echo off

 

for /f %%i in (x:\abc\namefile.txt) do mkdir g:\backup\%%i

g:

cd g:\backup\

FOR /D %%A IN (*) DO cscript x:\abc\xCACLS.vbs g:\backup\%%A /T /E /G domain\%%A:F

 

Remark: For/D %%A IN (*) which is the command running path (e.g. It running in g:\backup\), it will scan all folder in g:\backup\

The backup folder users permission need to set this folder only, otherwise it will  inherited to the \backup\%username%

 

 

map drive by username

 

net use Z: \\abc_server\backup\%username%

Print Friendly and PDF
Share/Bookmark

To Create folder and grant permission to user to access this folder and his/her own folder by batch

To Create folder and grant permission to user to access this folder and his/her own folder:

 

Prepare the username into a file call namefile.txt in X:\backup\namefile.txt

 

Batch to create folder name from a name list (Must be same at Windows login name):

 

@echo off

 

for /f %%i in (X:\backup\namefile.txt) do mkdir %%i

 

(Remark: if running in console/command prompt it should be “for /F %i in (X:\backup\namefile.txt) do mkdir %i”)

 

e.g. \\server\backup$\userA

 

To grant permission to the individual folder:

 

@echo off

 

FOR /D %%A IN (*) DO cscript xCACLS.vbs X:\backup\%%A /T /E /G MyDomain\%%A:F

 

 

Print Friendly and PDF
Share/Bookmark

Saturday, June 12, 2010

Windows 7 share to XP without password

http://www.howtogeek.com/howto/windows-7/share-files-and-printers-between-windows-7-and-xp/
http://social.technet.microsoft.com/Forums/en/w7itpronetworking/thread/16e3c166-0dda-4015-a8a0-8aaf8697c60a

Print Friendly and PDF
Share/Bookmark

Wednesday, September 30, 2009

(Freeware) EasyFilePrint


EasyFilePrint 是一套用來匯出資料夾(檔案)清單的程式,使用上非常簡單方便,可指定搜尋檔案大小或時間項目,搜尋的檔案類型可隨使用者自行設定,檔案搜尋非常快速,並且支援 Unicode,功能上持續增強中,程式完全免費,無廣告,無病毒。

EasyFilePrint 的系統需求
作業系統 :Windows 2000/XP/2003/Vista/7
中央處理器:Intel Pentium III 500 MHz 以上處理器。
記憶體  :64 MB 以上,建議使用 256 MB 或更高。
硬碟   :1 MB 之安裝空間。
音效卡  :內建或外接皆可。
螢幕解析度:800*600、1024*768(建議)

EasyFilePrint 提供的相關功能如下
1)支援 Unicode。
2)支援 Windows 7/2000/2003/XP/Vista
3)可自訂檔案類型,並提供正規表達式功能。
4)可指定搜尋檔案大小、建立、修改、存取時間。
5)提供更簡單的儲存模式,推薦給有需要的使用者使用。
6)可指定儲存資料夾或檔案。

EasyFilePrint 的系統修正
1) 新增檔案排序功能。
2) 新增屬性搜尋功能。
3) 新增網頁(Html)、Cav(Excel 相容) 格式的輸出
4) 修正空資料夾篩選...等等小功能。

http://holanet.pixnet.net/blog/post/25068983 Print Friendly and PDF
Share/Bookmark

Wednesday, September 23, 2009

(Freeware) FILEACL

NTFS Permissions command line tool


The FILEACL application was designed to be a small command line tool that allows to manipulate ACLs on NTFS volumes.



Here are some key features of "FILEACL":

· change permissions masks
· take ownership
· manipulate inheritance
· report permissions and apply them elsewhere
· view raw or SDDL version of security information 

http://www.softpedia.com/get/System/Hard-Disk-Utils/FILEACL.shtml

Print Friendly and PDF
Share/Bookmark