Hello,
My application failed on a test for Certified for Vista Logo program, here is the details of test:
----------
Expected Behaviour:
1. The application must not allow the Least-Privileged user to save any files to Windows System directory in order to pass this test case.
2. The application must not edit the ACLS of the %SYSTEMDRIVE%\Windows directory in order to pass this test case
NOTES:
1. The application must prompt user with a message indicating that the user does not have permission to save files to this location in order to pass this test case.
Observed Behaviour:
Status: Fail
1. The application doesnt allow any Least-Privileged user to run and use it.
2. When we run the application and execute some operations and then click save as and save buttons, we find there is no response.
STEPS:
1. Logon on to the machine as logouser1.
2. Right Click on %SYSTEMDRIVE%\Windows directory
a. Choose Properties from the context menu
b. Click Security Tab
c. Verify ACLS on Users group are checked as:
i. Read & Execute
ii. List folder contents
iii. Read
3. Launch the application.
4. If the application allows the user to create, save, open etc files, create a new file and attempt to save the file to the Windows System directory (%Windir%).
5. Recheck ACLS on the above directory
----------
I am writing in VB.NET 2008 and therefore set the requestedExecutionLevel to requireAdministrator and uiAccess="false".
My question is just that how can I force my application to prompt user with a message indicating that the user does not have permission to save files to this location in order to pass this test case???!!!
My application failed on a test for Certified for Vista Logo program, here is the details of test:
----------
Expected Behaviour:
1. The application must not allow the Least-Privileged user to save any files to Windows System directory in order to pass this test case.
2. The application must not edit the ACLS of the %SYSTEMDRIVE%\Windows directory in order to pass this test case
NOTES:
1. The application must prompt user with a message indicating that the user does not have permission to save files to this location in order to pass this test case.
Observed Behaviour:
Status: Fail
1. The application doesnt allow any Least-Privileged user to run and use it.
2. When we run the application and execute some operations and then click save as and save buttons, we find there is no response.
STEPS:
1. Logon on to the machine as logouser1.
2. Right Click on %SYSTEMDRIVE%\Windows directory
a. Choose Properties from the context menu
b. Click Security Tab
c. Verify ACLS on Users group are checked as:
i. Read & Execute
ii. List folder contents
iii. Read
3. Launch the application.
4. If the application allows the user to create, save, open etc files, create a new file and attempt to save the file to the Windows System directory (%Windir%).
5. Recheck ACLS on the above directory
----------
I am writing in VB.NET 2008 and therefore set the requestedExecutionLevel to requireAdministrator and uiAccess="false".
My question is just that how can I force my application to prompt user with a message indicating that the user does not have permission to save files to this location in order to pass this test case???!!!