Micro Innovations M000174-19 manual Access Permissions, Values in hex

Page 61

Windows CE

Programs

P Access Permissions

The registry entry P describes the type of access permission granted for every virtual directory. If the registry entry is missing, the default access permissions are Read, Execute and Script (hex value 0205).

P (values in hex)

0001

0002

0004

0200

Description

Read access permitted (Read – Access) Write access permitted (Write – Access)

Execution of a function permitted (Execute – Access) Scripts are permitted (Script – Access)

The above values for P are bit values. For example, for read and script access, P must be set to the value dword:0201. Other settings of the virtual directories are described in the chapter Virtual Directory Settings. See also the following chapter Sample Settings.

7.7.4SAMPLE SETTINGS

The settings for the web server can be set as follows in a REG file (see also chapter Autoexec.reg):

[HKEY_LOCAL_MACHINE\COMM\HTTPD]

"Port"=dword:50 ; 80 decimal "Basic"=dword:0 "NTLM"=dword:1 "DirBrowse"=dword:1 "DefaultPage"="default.htm;default.asp" "AdminUsers"="AnnD;GladysL" "LogFileDirectory"="\\windows\\www" "MaxLogSize"=dword:1000

[HKEY_LOCAL_MACHINE\COMM\HTTPD\VROOTS\/] "Default"="\\storagecard\\www"

"A"=dword:0

[HKEY_LOCAL_MACHINE\COMM\HTTPD\VROOTS\/Dir1] "Default"="\\storagecard\\www\\dir1"

"A"=dword:1

[HKEY_LOCAL_MACHINE\COMM\HTTPD\VROOTS\/Dir2] "Default"="\\storagecard\\www\\dir2"

"A"=dword:0

"P"=dword:201

Notes on the above example:

The directory «Dir1» is password protected.

Only script and read accesses to directory «Dir2» are permitted.

The entries with «dword» are in hexadecimal format.

M000174-19

61

Image 61
Contents System Description Windows CE Imprint Windows CE Contents Contents Index LicensingGeneral General Windows CEStartup Behavior Dhcp Windows CE GeneralAUTOEXEC.BAT AUTOEXEC.REGStart REM AUTOEXEC.BMP Following Msdos compatible commands are availableFile System CTRL/DOWNLOAD ButtonGeneral Windows CE Parameter Description ShortcutsStart shortcut -p FtpSvr.exe Power Supply Interruption Windows CE Ethernet Access to PCEthernet Ethernet Windows CE Name Resolution Cehosts Access to Micro PanelPrinting Windows CE Access to enabled printer of a Windows computerPrinting Printing VIA EthernetPrinting using ESC sequences Printing using Windows driverWindows CE Printing Parallel InterfaceSystem Settings System settings Windows CECommand Line Parameters Windows CE System settingsExamples Call Expanding the Control PanelDate / Time and Time Zone Setting Datetime Dim Value Screen Setting DisplayOrientation Windows CE System settings Software Input Panel KeyButtonSize5 Dword Serial License Administrator LicensePoints Change LicenseGateway Network Setting NetworkIP classes System settingsWindows CE192.168 .0.0 to 192.168 Examples of invalid subnet masks Binary formatInfo Owner Owner NET Setup NetsetupTotal Memory System Properties SystemStorage Memory Program MemoryMisc Touch Touch Echo OFF Touch Disable/Enable Touch LockKeyboard Setup Keyboard Bootdevice Setup Bootdevice Storagemanager Storagemanager System settings Windows CE Network Test Windows CE Network testActiveSync connection Windows CE RepllogswitchActivesync Connection Windows CE ActiveSync connection Procedure ActivesyncProcedure Manual Server Programs Windows CE ProgramsFormat Programs Windows CERemote Server Password Settings Remote Client Menu item Description Chapter Touch Enable/DisableUse ProcedureDeactivates a previously activated password protection Html Browser Internet Explorer Programs Windows CE MIExplorer Description ProxySettingsButtons MiExplorerMIExplorer Buttons Example of an INI file MIExplorerWEB Server Httpd Entry Type Description Root directoryTopic Chapter User List UserList Access authentication aExample Description Values in hex Access PermissionsFunctionality Call File Server Virtual Directory SettingsFile Server START/STOP Function Call User Administration UseradminSntp Client START/STOP/REFRESH of the Sntp Client Registry Editor Example of a REG file Type DescriptionBackground Picture Wallpaper CF BackupFor example Windows CE Programs Autolaunch AutoLaunchBootAutoLaunch Information Display Info Device Restart RebootFile System Size Storagememorysize System Performance Idlecount Programs from Windows CE 5.0 Professional Plus Windows CE Programs From Windows CE 5.0 Professional PlusFile Viewer Applications General LimitationsMicrosoft Image Viewer Windows CE Licensing Relicensing ProcedureLicensing With a license product certificateIndex Windows CE IndexWindows CE Index Windows CE Windows CE