EXAM TIP in Visual Studio .NET

Make QR Code ISO/IEC18004 in Visual Studio .NET EXAM TIP

EXAM TIP
QR Code Generation In .NET
Using Barcode generator for .NET framework Control to generate, create Denso QR Bar Code image in .NET applications.
www.OnBarcode.com
QR Code ISO/IEC18004 Scanner In VS .NET
Using Barcode reader for VS .NET Control to read, scan read, scan image in .NET applications.
www.OnBarcode.com
Figure 8-16: Printer sharing properties Practice: Sharing Resources Rather than deploying a dedicated file server, many small businesses use shared folders hosted off workstations as a method of sharing documents. In this practice, you configure Windows 7 to share data using the built-in HomeGroup functionality as well as sharing through the creation of dedicated shared folders. EXERCISE 1: Configuring Libraries and HomeGroup Settings In this exercise, you create a new library and then share it. You also modify the HomeGroup password from the one created during setup to one that is easier for other users of the HomeGroup to remember. Log on to computer Canberra using the Kim_Akers user account. Using Windows Explorer, create the C:\Data, C:\Moredata, and the C:\Evenmoredata folders. 3. Click Start. In the Search Programs And Files text box, type Libraries. On the Start menu, click Libraries. This opens the Libraries virtual folder, as shown in Figure 8-17. 1. 2.
Barcode Creation In .NET Framework
Using Barcode creation for .NET Control to generate, create bar code image in Visual Studio .NET applications.
www.OnBarcode.com
Decode Barcode In Visual Studio .NET
Using Barcode recognizer for VS .NET Control to read, scan read, scan image in VS .NET applications.
www.OnBarcode.com
Figure 8-17: The Libraries virtual folder 4. Click the New Library item. This creates a new library. Name the library Scientific_Data. 5. Right-click the Scientific_Data folder and then choose Properties. This opens the Scientific_Data Properties dialog box. Click Include A Folder, navigate to and select the C:\Data folder, and click Include Folder. Repeat this step for the C:\Moredata and C:\Evenmoredata folders. 6. Verify that the Scientific_Data Properties dialog box matches Figure 8-18, and then click OK.
QR Code Generation In C#
Using Barcode creation for .NET Control to generate, create QR-Code image in Visual Studio .NET applications.
www.OnBarcode.com
Denso QR Bar Code Generation In VS .NET
Using Barcode generation for ASP.NET Control to generate, create QR-Code image in ASP.NET applications.
www.OnBarcode.com
Figure 8-18: Library properties
Making QR In Visual Basic .NET
Using Barcode generation for .NET Control to generate, create QR Code JIS X 0510 image in .NET applications.
www.OnBarcode.com
ECC200 Creation In .NET
Using Barcode creation for .NET Control to generate, create Data Matrix image in VS .NET applications.
www.OnBarcode.com
Right-click the Scientific_Data library, choose Share With, and then click HomeGroup (Read). 8. If you are presented with the File Sharing dialog box, shown in Figure 8-19, click Yes, Share The Items.
Create GS1 DataBar In VS .NET
Using Barcode printer for VS .NET Control to generate, create DataBar image in .NET framework applications.
www.OnBarcode.com
2D Barcode Generation In VS .NET
Using Barcode creation for .NET Control to generate, create Matrix 2D Barcode image in .NET framework applications.
www.OnBarcode.com
Figure 8-19: Share items 9. Click Start. In the Search Programs And Files text box, type HomeGroup. In the Start menu, click the HomeGroup item. This opens the HomeGroup control panel. 10. Click the Change The Password item. On the Change Your HomeGroup Password dialog box, click Change The Password. 11. On the Type A New Password For Your HomeGroup page, enter the password P@ssw0rd and then click Next. 12. Verify that your HomeGroup password settings match those shown in Figure 8-20, and then click Finish.
Code 128C Printer In Visual Studio .NET
Using Barcode creator for .NET framework Control to generate, create Code 128 Code Set B image in .NET framework applications.
www.OnBarcode.com
Making Identcode In VS .NET
Using Barcode maker for .NET Control to generate, create Identcode image in Visual Studio .NET applications.
www.OnBarcode.com
Figure 8-20: HomeGroup password changed
Barcode Reader In .NET Framework
Using Barcode scanner for VS .NET Control to read, scan read, scan image in Visual Studio .NET applications.
www.OnBarcode.com
PDF-417 2d Barcode Generator In Visual C#.NET
Using Barcode drawer for .NET framework Control to generate, create PDF 417 image in VS .NET applications.
www.OnBarcode.com
EXERCISE 2: Advanced Folder Sharing In this exercise, you share a folder using the Create A Shared Folder Wizard. You would use this method to share a folder when you connect your computer to a Domain network. When you connect your computer to a domain network, you cannot use the HomeGroup functionality of Windows 7, though it is possible to share libraries directly. 1. 2. If necessary, log on to the Canberra computer using the Kim_Akers user account. Open an elevated command prompt and issue the following commands: Net localgroup Management /add Net localgroup Secretariat /add Mkdir c:\shared_folder Type exit to close the elevated command prompt. Click Start. In the Search Programs And Files text box, type Computer Management. In the Start menu, click Computer Management. This opens the Computer Management console. 5. Expand the System Tools\Shared Folders node. Right-click the Shares node and then choose New Share. This starts the Create A Shared Folder Wizard. Click Next. 6. In the Folder Path: text box, type c:\shared_folder, as shown in Figure 8-21, and then click Next. 3. 4.
DataMatrix Reader In .NET
Using Barcode recognizer for .NET framework Control to read, scan read, scan image in .NET applications.
www.OnBarcode.com
UPC-A Supplement 5 Creation In None
Using Barcode generator for Microsoft Word Control to generate, create UPC Symbol image in Office Word applications.
www.OnBarcode.com
Figure 8-21: Specifying a shared folder path 7. In the Name, Description, And Settings page, accept the default settings, and then click Next. 8. On the Shared Folder Permissions page, select Customize Permissions and then click Custom. 9. On the Share Permissions tab, select the Everyone group and then click Remove. Click Add. In the Select Users Or Groups dialog box, type Management; Secretariat and then click OK.
Painting Code 128A In Java
Using Barcode creator for Android Control to generate, create Code 128 Code Set B image in Android applications.
www.OnBarcode.com
Encoding Code 39 In Java
Using Barcode generator for BIRT Control to generate, create Code 39 image in BIRT reports applications.
www.OnBarcode.com
10. Configure the Secretariat group with the Read (Allow) permission. Configure the Management group with the Change (Allow) permission, as shown in Figure 8-22. Click OK.
QR Code JIS X 0510 Creation In Java
Using Barcode drawer for Eclipse BIRT Control to generate, create Quick Response Code image in Eclipse BIRT applications.
www.OnBarcode.com
Paint Linear Barcode In Visual C#.NET
Using Barcode encoder for Visual Studio .NET Control to generate, create Linear Barcode image in .NET applications.
www.OnBarcode.com
Figure 8-22: Custom share permissions 11. Click Finish twice to close the Create A Shared Folder Wizard. 12. From an elevated command prompt, issue the command net share shared_folder to verify that the Management group is assigned the Change permission and the Secretariat group has been assigned the Read permission.
Lesson Summary HomeGroups can be used on networks that have the Home network location designation. They make it easier to share resources in environments without AD DS. Libraries are collections of folders. You can share libraries with the HomeGroup. Shared folders allow individual folders to be shared. Sharing options for folders are more detailed than for Libraries. You can manage shared folders through the Computer Management console, Windows Explorer, and the Net Share command. The Computer Management console allows for the centralized administration of shared folders. The Read printer permission allows users to control their own documents. The Manage Documents permission allows users to manage all documents submitted to the printer. The Manage Printers printer permission allows users to control printer settings and configure printer permissions.
Lesson Review You can use the following questions to test your knowledge of the information in Lesson 1, "Sharing Resources." The questions are also available on the companion DVD if you prefer to review them in electronic form. Note ANSWERS Answers to these questions and explanations of why each answer choice is correct or incorrect are located in the "Answers" section at the end of the book. 1. You are responsible for maintaining a computer running Windows 7 Enterprise that is used in a university laboratory and is hooked up to four different scientific instruments. Each of these instruments outputs its data to a directory named Data. Each instrument's data directory is located on a different volume on the computer's hard disk drive. You want to share this data with other computers in the laboratory through the common HomeGroup. Which of the following should you do (Choose all that apply; each answer forms part of a complete solution.) A. Share each Data folder. B. Create a library named Sci_Data. C. Add each instrument's separate Data folder to the Sci_Data library. D. Share the Sci_Data library using the HomeGroup control panel. 2. You do consulting work for a small business. This small business has a single color laser printer. This printer is shared off the administrative assistant's client running Windows 7. The administrative assistant is not a member of the local Administrators group. You want to allow the administrative assistant to reorder jobs in the print queue and delete them if necessary. The administrative assistant should be able to do this to any documents in the queue. The administrative assistant should not be able to reconfigure printer permissions. Which of the following should you do to accomplish this goal A. Assign the administrative assistant the Print permission. B. Assign the administrative assistant the Manage This Printer permission. C. Assign the administrative assistant the Manage Documents permission. D. Add the administrative assistant's account to the Power Users group. 3. Which of the following tools can you use to determine which shared folders a client running Windows 7 hosts and the local folders that are associated with those shares (Choose all that apply.) A. The Net Share command B. The Computer Management console C. Libraries D. Network And Sharing Center 4. You have created a local group on a client running Windows 7 named Accounting. Which of the following share permissions should you assign to the accounting group to ensure that users are able to add, modify, and delete files located in the
Accounting shared folder without giving members of the group the ability to modify shared folder permissions A. Read B. Modify C. Full Control D. Owner 5. Which of the following Advanced Sharing Settings options should you configure to ensure that shared resources on a client running Windows 7 are visible to all other computers in the HomeGroup A. Public Folder Sharing B. File Sharing Connections C. Password Protected Sharing D. Network Discovery Answers 1. Correct Answers: B, C, and D A. Incorrect: You do not need to share each data folder; you can add them to a common library and then share the library using HomeGroups. B. Correct: You should create a new library named Sci_Data, add each instrument's separate data folder to the library, and then share it using the HomeGroup control panel. C. Correct: You should create a new library named Sci_Data, add each instrument's separate data folder to the library, and then share it using the HomeGroup control panel. D. Correct: You should create a new library named Sci_Data, add each instrument's separate data folder to the library, and then share it using the HomeGroup control panel. 2. Correct Answer: C A. Incorrect: The Print permission allows a user to manage their documents but not the documents of others. B. Incorrect: Users that you assign the Manage This Printer permission are able to reconfigure printer permissions. They are not able to manage the documents of other users directly, though they can assign themselves the Manage Documents permission and accomplish this task indirectly. C. Correct: When you assign a person the Manage Documents permission, she is able to reorder any documents in the queue and cancel them. D. Incorrect: The Power Users group is included for backward compatibility with earlier versions of Windows. Assigning a user to the Power Users group does not confer any printer permissions. 3. Correct Answers: A and B A. Correct: You can use the net share command to view share names and the folders with which those folders are associated. B. Correct: You can use the Computer Management console to view share names and
the folders with which those shares are associated. C. Incorrect: Libraries allows you to configure libraries. You cannot use Libraries to determine which shared folders a client running Windows 7 hosts because it is possible to host shared folders that are not libraries. D. Incorrect: You can use Network And Sharing Center to configure sharing options, but you cannot use Network And Sharing Center to determine which shared folders a client running Windows 7 hosts. 4. Correct Answer: B A. Incorrect: You should not assign the Read permission. If you assign this permission, users are unable to modify or delete files. B. Correct: You should assign the Modify permission because this allows users to add, modify, and delete files located in the accounting shared folder. C. Incorrect: You should not assign the Full Control permission because then users have the ability to modify shared folder permissions. D. Incorrect: You cannot assign the Owner permission to groups. When you use basic sharing, Windows automatically assigns this permission to the user who shares the folder. 5. Correct Answer: D A. Incorrect: Enabling this option does not ensure that shared resources are visible to other computers in the HomeGroup. This option allows HomeGroup readers to read and write files in the public folder. B. Incorrect: Enabling this option does not ensure that shared resources are visible to other computers in the HomeGroup. This option controls the encryption level of file sharing connections. C. Incorrect: Password Protected Sharing restricts access to shared resources hosted on the client. Only users with local accounts on the client are able to access shared resources when Password Protected Sharing is enabled. Enabling this option does not ensure that shared resources are visible to other computers in the HomeGroup. D. Correct: Network Discovery allows the client to find other computers on the network. It also allows other computers on the network to view resources shared by the client. Lesson 2: Folder and File Access In many Windows 7 deployments, multiple people have to use the same computer. When multiple people use the same computer and store their files locally, it becomes necessary to ensure that some form of security exists so that one user is able to look at another user's files only if he has the appropriate permissions. Windows 7 allows you to do this through file and folder permissions, as well as encryption through Encrypting File System (EFS). After this lesson, you will be able to: Configure file and folder permissions. Resolve effective permissions issues. Encrypt files and folders. Estimated lesson time: 40 minutes
File and Folder Permissions You can apply NTFS file and folder permissions to individual user accounts or groups. NTFS file and folder permissions determine access rights to files and folders. These access rights apply whether the user logs on directly to the client running Windows 7 or is accessing the client running Windows 7 over the network. You can set file and folder permissions only to files and folders hosted on NTFS volumes. It is not possible to set file and folder permissions to files and folders hosted on FAT or FAT32 volumes. There are six standard permissions that can be assigned to a file or a folder. These permissions include the following: Full Control When applied to folders, allows the reading, writing, changing, and deletion of files and subfolders. When applied to a file, permits reading, writing, changing, and deletion of the file. Allows modification of permissions on files and folders. Modify When applied to folders, allows the reading, writing, changing, and deletion of files and subfolders. When applied to a file, permits reading, writing, changing, and deletion of the file. Does not allow the modification of permissions on files and folders. Read & Execute When applied to folders, allows the content of the folder to be accessed and executed. When applied to a file, allows the file to be accessed and executed. List Folder Contents Can be applied only to folders, allows the contents of the folder to be viewed. Read When applied to folders, allows content to be accessed. When applied to a file, allows the contents to be accessed. Differs from Read & Execute in that it does not allow files to be executed. Write When applied to folders, allows adding of files and subfolders. When applied to a file, allows a user to modify, but not delete, a file.
You can assign these permissions to a user or group by viewing a folder's properties and clicking the Security tab. You can configure permissions with the Allow or Deny setting, or provide no setting. Deny permissions always override Allow permissions. If a user is not explicitly assigned an Allow permission, she cannot perform that function. Figure 8-23 shows that the user Kim Akers has the Read & Execute (Allow), List Folder Contents (Allow), and Read (Allow) permissions for the Temp folder. Other permissions, such as Modify, have been assigned no setting. Unless the Modify (Allow) permission is assigned through membership in another group, Kim Akers is unable to modify files in the Temp folder.
Figure 8-23: Standard permissions When you set the Allow permissions for some permission types, other Allow permissions are included automatically. For example, if you set the Read & Execute (Allow) permission, Windows automatically sets the List Folder Contents (Allow) and Read (Allow) permissions. Similarly, a Deny permission for one permission type can also apply to other permission types. The permissions that also apply when you assign a particular type of permission are included in Table 8-1.
Copyright © OnBarcode.com . All rights reserved.