Extendy / SmartyURL

SmartyURL is a PHP-based web application for Smart URL management, Sharing, shortening, and analytics, featuring smart redirects.
https://docs.smartyurl.extendy.net/
MIT License
12 stars 2 forks source link

rate limit notice #36

Closed ghost closed 11 months ago

ghost commented 11 months ago

I've noticed the presence of a rate-limit across all SmartyURL, which is undoubtedly beneficial for safeguarding URL Go Controller and URL identifiers.

However, it appears that when we utilize 10 requests, the rate limit affects regular users (error 429 appear to me when using Add New URL). Would it be possible to increase the rate limit for all site-related activities while retaining it at 10 for user login forms and Go controller, without the need for a shield core change?

If this isn't possible, could we consider applying the rate-limit exclusively to the URL Go controller and shield only, and removing the rate limit for all other requests?

Your insights and guidance on this matter would be greatly appreciated.

mshannaq commented 11 months ago

@extendy-sam We must check the default settings of the ci to check the ability.

mshannaq commented 11 months ago

Take a look into https://www.codeigniter.com/user_guide/libraries/throttler.html