Chapter 16. Networking

FileMaker’s networking abilities make it easy for PCs and Macs to share the same FileMaker database file. Inevitably, layouts will not look exactly the same on each platform. And since the Windows and Mac operating systems use different default fonts—and render them at 96 dpi on Windows and 72 dpi on Macs—text may also appear a bit differently. In some cases, this will force you to add a bit more space to tight Mac-generated layouts used on Windows machines. But, overall, the FileMaker match across platforms is pretty close. Since FileMaker 6 sticks with the .fp5 format used in FileMaker 5 and 5.5, anyone on the network using version 5 or newer can access the same files.

To host a file simply means being the first user to open a shared FileMaker file. Anyone opening the file after the host is considered a guest. The host can set access rights and make file changes that guests cannot. For details, see Table 16.1, Network Rights: Hosts vs. Guests. FileMaker’s network access privileges, by the way, are not the same as the access rights set by your computer’s operating system. For information on setting Web access to FileMaker, see Publishing on the Web on page 255.

File sharing is set file by file. When a file needs to be shared, it must be set to Multi-User. By default, all FileMaker databases begin as Single User files. When a host needs to make substantial changes to a file, the file must be set back to Single User (see Table 16.1, Network Rights: Hosts vs. Guests) and guest users temporarily denied access to the file. Once the host finishes the modifications, the file can again be set to Multi-User.

Table 16.1. Network Rights: Hosts vs. Guests

PARTY

HAS RIGHT TO

Host Only

 

(File must be set to Single User. Guests must close file.)

Change file to single-user status or close shared file

Define, delete, change access rights or groups

Define fields or change field definitions

Save file copies (with Save a Copy command)

Reorder layouts

Any User

(One at a time)

Edit record or layout

Define, change value lists

Define, change own passwords

Define, change relationships

Open ScriptMaker dialog box

Any User

(Any time)

Find, sort, browse records

Export, import records

Choose a page setup and print

Switch layout view or mode

Check spelling

To turn on file sharing:

  1. Open the file you want to share: To turn on file sharing: in Windows, To turn on file sharing:To turn on file sharing: on the Mac.

  2. Choose File > Sharing (Figure 16.1). When the File Sharing dialog box appears (Figure 16.2), choose Multi-User, then click OK.

    To turn FileMaker file sharing on or off, choose File > Sharing.

    Figure 16.1. To turn FileMaker file sharing on or off, choose File > Sharing.

    To share a file, choose Multi-User within the File Sharing dialog box.

    Figure 16.2. To share a file, choose Multi-User within the File Sharing dialog box.

To turn off file sharing:

  1. If you’re hosting the file, close it: To turn off file sharing: in Windows, To turn off file sharing:To turn off file sharing: on the Mac.

  2. A dialog box will appear listing other users of the file. Click Ask and they will be alerted to close the file as well. If they don’t respond, FileMaker automatically closes the file in 30 seconds.

  3. Choose File > Sharing (Figure 16.1). When the File Sharing dialog box appears, choose Single User, then click OK (Figure 16.3). The file will remain set to Single User until you turn file sharing back on, so it’s best to make any changes promptly and return the file to its original Multi-User setting.

    To stop sharing a file, choose Single User within the File Sharing dialog box.

    Figure 16.3. To stop sharing a file, choose Single User within the File Sharing dialog box.

To open a database as the host:

  1. After making sure no one else has the file open, choose File > Open or use your keyboard: To open a database as the host: in Windows, To open a database as the host:To open a database as the host: on the Mac.

  2. When the Open dialog box appears, choose a file and click Open.

  3. Choose File > Sharing (Figure 16.1). Within the File Sharing dialog box, make sure Multi-User is selected (Figure 16.2). If the button is dimmed, a message will appear in the middle of your screen explaining why. Or choose Multi-User (Hidden) to host a file that’s somehow linked to a file guests will need to see. For more information, see the Tip below.

  4. Click OK.

To open a database as the host: Tip

  • The Multi-User (Hidden) choice in the File Sharing dialog box (Figure 16.2) is designed to grant guests access to a file they need to see while hiding related files that you don’t necessarily want them to see. For example, a file may include value list- or relational-links to another file. By opening the related file and choosing Multi-User (Hidden), the host can enable the first file to fetch all the data it needs without giving guests direct access to the related files.

To open a database as a guest:

  1. Choose File > Open Remote or use your keyboard: To open a database as a guest:To open a database as a guest:To open a database as a guest: in Windows, To open a database as a guest:To open a database as a guest:To open a database as a guest: on the Mac (Figure 16.4).

    To open a database not on your own computer, choose File > Open Remote.

    Figure 16.4. To open a database not on your own computer, choose File > Open Remote.

  2. When the Hosts dialog box appears (Figure 16.5), its appearance and your choices will vary depending on your network setup:

    If you’re using AppleTalk with several server zones, pick a zone from the lower list and a file on that server in the upper list, and then click Open.

    Figure 16.5. If you’re using AppleTalk with several server zones, pick a zone from the lower list and a file on that server in the upper list, and then click Open.

    • If you’re using IPX/SPX (Windows) or AppleTalk with no server zones (Mac), select a file in the top list and click Open.

    • If you’re using AppleTalk with several server zones, pick a zone in the box’s lower-left list, then select a file from those that appear in the top list and click Open (Figure 16.5).

    • If you’re using TCP/IP and want to pick a host outside your local area network, click Specify Host in the lower-left list (Figure 16.6). When the Specify Host dialog box appears, enter a host name or IP address (Figure 16.7). Click OK and when the Host dialog box reappears, choose a database in the top list. When you’re done, click OK to close the Hosts dialog box.

      To find a FileMaker host outside your local area network, click Specify Host.

      Figure 16.6. To find a FileMaker host outside your local area network, click Specify Host.

      Enter the host’s name or IP address in the Specify Host dialog box.

      Figure 16.7. Enter the host’s name or IP address in the Specify Host dialog box.

    • If you’re using TCP/IP on a local area network, click Local Hosts in the box’s lower-left list (Figure 16.6), then select a file from those that appear in the top list and click Open.

    • If you’re using a TCP/IP connection with a Windows machine or a Mac running OS X and need a host outside your local area network, you also can click Directory Service in the lower-left list (Figure 16.6). When the Directory Service dialog box appears (Figure 16.8), enter the necessary configuration information (your network administrator can help with the specifics). Click OK and when the Hosts dialog box reappears, choose a database in the top list. When you’re done, click OK to close the Hosts dialog box.

      Use the Directory Service dialog box to configure your TCP/IP connection to a host outside your local area network.

      Figure 16.8. Use the Directory Service dialog box to configure your TCP/IP connection to a host outside your local area network.

Use the Directory Service dialog box to configure your TCP/IP connection to a host outside your local area network. Tip

  • If you frequently use a host outside your local area network, click Permanently add entry to Hosts list within the Specify Host dialog box.

Controlling File Access

By giving you the options to set a mix of passwords and group definitions, FileMaker lets you precisely control who can access files on your network. Be careful to not overdo security, however. The first time users can’t get to something they need because of a password restriction, you’ll hear about it and they won’t be happy. Obviously you may need to control access to sensitive records, such as personnel and cost data. But in general, it’s better to add passwords as you need them than to set up a security maze from the start. If you’re the only one using a database or you’re working in a very small group, you may not even need to set passwords.

Passwords should be relatively easy to remember but not so obvious that people outside the group can easily figure them out. The most secure passwords are a random mix of letters and numbers, but these passwords can be very hard to remember. Ultimately, security vs. ease of use requires a balancing act determined by your group’s particular needs.

Group and password definitions are so inter-related it can get confusing as to which controls what. Remember: Groups control access or what users can see; passwords control actions or what users can do. In practical terms that means only the members of a group can see a particular layout or field, while passwords determine what they can do with the data once they reach it.

The first step in creating passwords is defining what FileMaker calls a master password, which grants access to everything in the database. Only then can you begin creating passwords for individual users. Aside from the master password, passwords are set based on the level of access needed. Password access privileges can run the gamut. For details, see Table 16.2, Password Access Privileges.

The first step in creating groups is defining them. Only then do you set a group’s access privileges. Once passwords have been set and groups linked to them, FileMaker controls all users’ access and their layout and field views of the database.

Table 16.2. Password Access Privileges

CHECK

TO LET USERS

Access the entire file

Do any task via a master password. Only choice that grants right to define, change, or delete passwords. Also grants right to change field or group definitions, and document preferences.

Browse records

View record data

Print records

Print any records

Export records

Export any records, copy a found set, enable Web Companion sharing

Override data entry warnings

Enter data even if it doesn’t match preset entry options

Design layouts

Create and change layouts

Edit scripts

Create and change scripts

Define value lists

Create and change value lists

Create records

Create new records and enter data

Edit records

Change data in records

Delete records

Delete any records

To set a master password:

  1. Open the file for which you want to set a password (To set a master password: in Windows, To set a master password:To set a master password: on the Mac).

  2. Turn off File Sharing (see page 255).

  3. Choose File > Access Privileges > Passwords (Figure 16.9).

    To work with FileMaker passwords, choose File > Access Privileges > Passwords.

    Figure 16.9. To work with FileMaker passwords, choose File > Access Privileges > Passwords.

  4. When the Define Passwords dialog box appears, type a password into the Password text box (Figure 16.10). It can include up to 31 characters and can include spaces. Capitalization within passwords is ignored.

    Within the Define Passwords dialog box, type a password into the Password text box. Create a master password by checking Access the entire file.

    Figure 16.10. Within the Define Passwords dialog box, type a password into the Password text box. Create a master password by checking Access the entire file.

  5. Check Access the entire file at the top of the Privileges panel.

  6. Click Create, then click Done.

  7. When the Confirm dialog box appears, type in the master password and click OK (Figure 16.11). Remember to turn File Sharing back on.

    Any time you define other users’ passwords, you’ll need to confirm that you know the master password.

    Figure 16.11. Any time you define other users’ passwords, you’ll need to confirm that you know the master password.

Defining passwords

Only users who know the master password can define a password other than their own.

To define user passwords:

  1. Open the file for which you want to set a password (To define user passwords: in Windows, To define user passwords:To define user passwords: on the Mac).

  2. Turn off File Sharing (see page 255).

  3. Choose File > Access Privileges > Passwords (Figure 16.9).

  4. When the Define Passwords dialog box appears (Figure 16.10), type a password into the Password text box.

  5. Check the appropriate access boxes within the Privileges panel. (See Table 16.2, Password Access Privileges.)

  6. If you want to further limit the password user’s ability to browse, edit, or delete only certain records within the file, click any of the three drop-down menus and choose Limited (Figure 16.12). When the Specify Calculation dialog box appears, use the list of field names, operators, and functions to fine-tune which records can be accessed (Figure 16.13). (For more information on using formulas, see Understanding Formulas on page 126.) When you’re done, click OK to close the dialog box.

    To limit a password’s access to only certain records within the file, choose Limited in any of the three drop-down menus.

    Figure 16.12. To limit a password’s access to only certain records within the file, choose Limited in any of the three drop-down menus.

    Use the Specify Calculation dialog box to fine-tune which records can be accessed within a file.

    Figure 16.13. Use the Specify Calculation dialog box to fine-tune which records can be accessed within a file.

  7. To grant access to all the FileMaker menu commands associated with the privilege boxes you’ve checked in steps 5–6, leave the Available menu commands pop-up menu set to Normal (Figure 16.14). If you want to enable only commands associated with simple data entry, choose Editing Only. To block use of any menu commands, choose None.

    Control which FileMaker menu commands are linked to a password with the Available menu commands pop-up menu within the Define Passwords dialog box.

    Figure 16.14. Control which FileMaker menu commands are linked to a password with the Available menu commands pop-up menu within the Define Passwords dialog box.

  8. Click Create.

  9. Repeat the process for as many passwords as you need to define. To associate passwords with existing groups, see To define groups on page 266.

  10. Click Done.

  11. When the Confirm dialog box appears, type in the master password and click OK (Figure 16.11).

Control which FileMaker menu commands are linked to a password with the Available menu commands pop-up menu within the Define Passwords dialog box. Tip

  • A file can have more than one password with each offering a different degree of access.

To create a blank password:

  1. For users who only need limited access and can’t be bothered with remembering a password, follow steps 1–3 of To define user passwords (see page 262).

  2. When the Define Passwords dialog box appears, leave the Password text box entirely blank, but go ahead and define a limited set of access options within the Privileges panel (top, Figure 16.15). Click Create.

    Top: Create a blank password by leaving the Password text box empty and giving it limited access privileges. Bottom: Once created, a blank password appears in the list as [no password].

    Figure 16.15. Top: Create a blank password by leaving the Password text box empty and giving it limited access privileges. Bottom: Once created, a blank password appears in the list as [no password].

  3. A [no password] password now appears within the left-side list (bottom, Figure 16.15). Click Done.

Changing or deleting passwords

Only users who know the master password can change or delete passwords other than their own.

To change or delete passwords:

  1. Choose File > Access Privileges > Passwords (Figure 16.9).

  2. When the Define Passwords dialog box appears (Figure 16.10), select the password within the left-side list.

  3. Type a new password in the Password text box and make any changes in Privileges. Click Change. The new password is now active.

    To delete the password, click Delete.

  4. Click Done.

  5. When the Confirm dialog box appears, type in the master password and click OK. Be sure to alert other users affected by the password changes.

Changing your own password

Even if you don’t know the master password, you can change your individual password (if you have one).

To change your own password:

  1. Choose File > Access Privileges > Passwords (Figure 16.9).

  2. When the Define Passwords dialog box appears, select your old password in the left-side list, type your new password into the Password text box, and click Change (Figure 16.16).

    To change your own password, select the old password, type in a new password, and click Change.

    Figure 16.16. To change your own password, select the old password, type in a new password, and click Change.

  3. Once your password is updated in the left-side list, click Done (Figure 16.17).

    Once your password is updated in the left-side list, click Done.

    Figure 16.17. Once your password is updated in the left-side list, click Done.

To define groups:

  1. Open the file for which you want to set group access (To define groups: in Windows, To define groups:To define groups: on the Mac). If you’ve already created passwords for the file, FileMaker will ask you to enter the master password.

  2. Turn off File Sharing (see page 255).

  3. Choose File > Access Privileges > Groups (Figure 16.18).

    To create groups with varying rights, choose File > Access Privileges > Groups.

    Figure 16.18. To create groups with varying rights, choose File > Access Privileges > Groups.

  4. When the Define Groups dialog box appears, type in the new group name and click Create (Figure 16.19).

    Type in a new group’s name and click Create.

    Figure 16.19. Type in a new group’s name and click Create.

  5. Make sure the new group name remains highlighted in the left-side list, then click Access (Figure 16.20). The Access Privileges dialog box appears, showing the groups, passwords, layouts, and fields for the file you’re working in.

    Once a group has been created, click Access to set its rights to the file.

    Figure 16.20. Once a group has been created, click Access to set its rights to the file.

  6. Select the group in the far-left column by clicking on it. In Figure 16.21, print vendors is associated with three passwords, all marked by solid bullets: welcome, fastcars, and bigword. (As the master password, the bold-face bigword is linked to every group; the bullet for the password sabot is dimmed because it is not linked to the print vendors group.) For the access level signified by different bullets, see Table 16.3, Access Symbols.

    Select a group in the left column of the Access Privileges dialog box to see the passwords, layouts, and fields associated with the group.

    Figure 16.21. Select a group in the left column of the Access Privileges dialog box to see the passwords, layouts, and fields associated with the group.

  7. To change passwords linked to a group, keep the group selected in the far-left column and click the bullet next to a password you no longer want linked to the group (Figure 16.22). In the example, the bullet next to fastcars has changed to gray. To relink a password, click the bullet again.

    To change the passwords, layouts, and fields associated with a group, select the group’s name in the left column and then click the bullets next to items in the other columns.

    Figure 16.22. To change the passwords, layouts, and fields associated with a group, select the group’s name in the left column and then click the bullets next to items in the other columns.

  8. The print vendors group in Figure 16.22 can see the Web table layout and 12 fields within it. Of those fields, group members can edit just three: Product, platform, and Books. To change the group’s layout and field access, just click on the adjacent bullets.

  9. Click Save. If you want to make other changes, repeat the process, clicking Save after each round. If you change your mind mid-way through a round of changes, click Revert to go back to the version last saved. When you’re satisfied, click Done twice.

Table 16.3. Access Symbols

THIS BULLET

MEANS THE LAYOUT OR FIELD

Access Symbols Solid bullet

Can be read and edited by selected group

Access Symbols Hollow bullet

Can only be read by selected group

Access Symbols Dimmed bullet

Cannot be seen by selected group

Changing group definitions

To change group definitions, you must host the file, know the master password, and first turn off file sharing.

To change a group definition:

  1. Choose File > Access Privileges > Overview (Figure 16.23).

    The host can control group and password settings by choosing File > Access Privileges > Overview.

    Figure 16.23. The host can control group and password settings by choosing File > Access Privileges > Overview.

  2. Within the Access Privileges dialog box, select a group in the left column and click the bullets in the other three columns (Passwords, Layouts, and Fields) to change the group’s definition (Figure 16.24).

    Once you’ve changed definitions for various groups, click Save.

    Figure 16.24. Once you’ve changed definitions for various groups, click Save.

  3. Click Save, and then click Done.

Deleting group definitions

To delete any group definitions, you must host the file, know the master password, and first turn off file sharing.

To delete a group definition:

  1. Choose File > Access Privileges > Groups.

  2. When the Define Groups dialog box appears, select a group name in the left-side list and click Delete (Figure 16.25).

    Select a group name in the left-side list and click Delete.

    Figure 16.25. Select a group name in the left-side list and click Delete.

  3. When the warning dialog appears, click Delete again (Figure 16.26). Click Done.

    When the warning dialog appears, click Delete again.

    Figure 16.26. When the warning dialog appears, click Delete again.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.143.4.181