mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
added security page
This commit is contained in:
@@ -14,6 +14,7 @@ Contents
|
||||
configfile
|
||||
templates
|
||||
unittests
|
||||
security
|
||||
|
||||
|
||||
|
||||
|
||||
17
developer_manual/security.rst
Normal file
17
developer_manual/security.rst
Normal file
@@ -0,0 +1,17 @@
|
||||
Security
|
||||
========
|
||||
|
||||
Blacklisted PHP functionality
|
||||
-----------------------------
|
||||
**echo, print(), <?=**
|
||||
Use $this->p in templates instead
|
||||
**error_log**
|
||||
Use throw new Exception("Description") instead
|
||||
**==**
|
||||
Use === instead
|
||||
**!=**
|
||||
Use !== instead
|
||||
**rand(), srand(), mt_rand()**
|
||||
Use openssl_random_pseudo_bytes() instead
|
||||
|
||||
TBD
|
||||
Reference in New Issue
Block a user