src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalFilePermissions.html

branch
eric7
changeset 10070
9f5758c0fec1
parent 9325
8157eb19aba5
child 10259
b51dfacef37f
equal deleted inserted replaced
10069:435cc5875135 10070:9f5758c0fec1
29 <td><a href="#_statIsDangerous">_statIsDangerous</a></td> 29 <td><a href="#_statIsDangerous">_statIsDangerous</a></td>
30 <td>Function to check for dangerous stat values.</td> 30 <td>Function to check for dangerous stat values.</td>
31 </tr> 31 </tr>
32 <tr> 32 <tr>
33 <td><a href="#checkFilePermissions">checkFilePermissions</a></td> 33 <td><a href="#checkFilePermissions">checkFilePermissions</a></td>
34 <td>Function to check for setting too permissive file permissions.</td> 34 <td></td>
35 </tr> 35 </tr>
36 <tr> 36 <tr>
37 <td><a href="#getChecks">getChecks</a></td> 37 <td><a href="#getChecks">getChecks</a></td>
38 <td>Public method to get a dictionary with checks handled by this module.</td> 38 <td>Public method to get a dictionary with checks handled by this module.</td>
39 </tr> 39 </tr>
71 <hr /> 71 <hr />
72 <a NAME="checkFilePermissions" ID="checkFilePermissions"></a> 72 <a NAME="checkFilePermissions" ID="checkFilePermissions"></a>
73 <h2>checkFilePermissions</h2> 73 <h2>checkFilePermissions</h2>
74 <b>checkFilePermissions</b>(<i>reportError, context, config</i>) 74 <b>checkFilePermissions</b>(<i>reportError, context, config</i>)
75 75
76 <p>
77 Function to check for setting too permissive file permissions.
78 </p>
79 <dl>
80
81 <dt><i>reportError</i> (func)</dt>
82 <dd>
83 function to be used to report errors
84 </dd>
85 <dt><i>context</i> (SecurityContext)</dt>
86 <dd>
87 security context object
88 </dd>
89 <dt><i>config</i> (dict)</dt>
90 <dd>
91 dictionary with configuration data
92 </dd>
93 </dl>
94 <div align="right"><a href="#top">Up</a></div> 76 <div align="right"><a href="#top">Up</a></div>
95 <hr /> 77 <hr />
96 <hr /> 78 <hr />
97 <a NAME="getChecks" ID="getChecks"></a> 79 <a NAME="getChecks" ID="getChecks"></a>
98 <h2>getChecks</h2> 80 <h2>getChecks</h2>

eric ide

mercurial