Thread Rating:
  • 514 Vote(s) - 2.87 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Page 2: Setting up the privilege settings
06-16-2011, 11:50 AM, (This post was last modified: 06-23-2011, 03:44 PM by ashimo.)
#1
Page 2: Setting up the privilege settings
Assign Special Privileges to the Working Folder



The working folder
With Curl, we can create applets that can be executed over a network, but during development it is convenient to perform execution/debugging on a local machine. In this manual, we will be using the 'Curl' directory on the C drive to hold applets under development. The following steps configure Curl to grant privileges to this location. You can, of course, use any directory in any location.



1. As shown in Figure 0-8, click start and select All Programs > Curl RTE > Curl Control Panel. The screen shown in Figure 0-9 appears.



2. Click the “Security Options” tab, and then click “This Computer”.


3. After the screen switches to that shown in Figure 0-11, click “Add Privileged Directory.” The dialog box shown in Figure 0-12 appears. Input “c:\Curl”, and then click "OK". Once the privileged directory has been added to this computer, the screen shown in Figure 0-13 appears.




Security and Privileges
Usually, Curl applets are stored on a Web server. From the server, users can download the applets, and then execute them on their PCs. If we were to allow applets unlimited access to resources such as the files stored on the hard disk of a user’s PC, or the registry, then it would be possible for malicious applets to steal or even destroy data. Curl RTE has been designed to protect a user’s PC from this kind of danger, and limits the range of client resources that can be accessed by a Curl applet. We call this range, in which access is possible, the “sandbox.”


When the user knows that an applet can be trusted, he or she can change the settings to lift this restriction from Curl RTE. Applets that are not subject to this restriction are called “privileged applets” and have full access to the client’s resources.


The examples given in this manual assume that applications are stored and executed locally, and not served from a Web server. If applets or other resources, such as images, are stored on a Web server or other location, privileges are still required to execute the Curl applet. With Curl, you can assign privileges to other locations using the same methods as explained in STEP 4 in which you would specify the directory containing the applet.


Possibly Related Threads...
Thread Author Replies Views Last Post
  Page 1: Downloading and installing ashimo 1 6,049 08-08-2012, 02:24 AM
Last Post: myclass00
  Page 4: Understanding Curl ashimo 0 4,277 06-16-2011, 01:04 PM
Last Post: ashimo
  Page 3: Setting up the debug options ashimo 0 3,626 06-16-2011, 11:57 AM
Last Post: ashimo
Forum Jump:


Users browsing this thread:
1 Guest(s)

MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1017 - Can't find file: 'mybb_threadviews' (errno: 2)
Query:
INSERT INTO mybb_threadviews (tid) VALUES('39')