⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.172
Server IP:
13.200.189.69
Server:
Linux ip-172-31-46-210 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 06:59:36 UTC 2025 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.3-4ubuntu2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
ubuntu
/
vendor
/
league
/
glide
/
docs
/
0.3
/
config
/
Edit File: secure-images.md
--- layout: default title: Secure images --- # Secure images Add additional security to your Glide image server with HTTP signatures. By signing each request with a private key, no alterations can be made to the URL parameters.
It is highly recommended that you use secure URLs in production environments.
## Configuration Start by configuring the Glide server to validate each request before you ouput the image. In the event that the validation fails, Glide will throw an `SignatureException` exception. ~~~ php validateRequest($request); } catch (SignatureException $e) { // Handle error } ~~~ ## Generating secure URLs Next, generate a signature for each image request you make. Glide comes with a URL builder to make this process easy. Be sure to use the same signing key you configured earlier. ~~~ php getUrl('cat.jpg', ['w' => 500]); // Use the URL in your app echo '
'; // Prints out
~~~
Simpan