access-rights for WindowsNT.

I must to work on a file, if he has the access-rights to read. In Unix is the numeric modus to read the file: 0444.
How are the access-right's to read in WinNT.
Please detailinformation.
Thank you.
HandschuhAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
prakashk021799Connect With a Mentor Commented:
To check if a file has read permission, just do this (on both Unix and WinNT):

if (-r $file) {
    # proceed to open and read the file
} else {
    print STDERR "$file is not readable.\n";
}
0
All Courses

From novice to tech pro — start learning today.