The ws.php file is a target for cross-scripting attacks, I can rename it to hide it from attackers (of course I need to update which I use to access it). However, this breaks the admin interface as there are multiple places Piwigo's code where the ws.php name is hard-coded.
Could you implement an option, which would provide a way for users to rename the script and use a custom name without having to go through a dozen of source files?
The ws.php file is a target for cross-scripting attacks, I can rename it to hide it from attackers (of course I need to update which I use to access it). However, this breaks the admin interface as there are multiple places Piwigo's code where the ws.php name is hard-coded.
Could you implement an option, which would provide a way for users to rename the script and use a custom name without having to go through a dozen of source files?
<!-- github-sync-id:328850050 -->
So are admin.php or identification.php. I'm not convinced the solution is to rename ws.php into ws1234.php.
@modus75 what do you think?
So are admin.php or identification.php. I'm not convinced the solution is to rename ws.php into ws1234.php.
@modus75 what do you think?
<!-- github-comment-id:394270250 -->
I'm not sure this is a solution. The api is used on the public side for rating (maybe some other things). So it would be easy for an attacker to find it.
I'm not sure this is a solution. The api is used on the public side for rating (maybe some other things). So it would be easy for an attacker to find it.
<!-- github-comment-id:394272273 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The ws.php file is a target for cross-scripting attacks, I can rename it to hide it from attackers (of course I need to update which I use to access it). However, this breaks the admin interface as there are multiple places Piwigo's code where the ws.php name is hard-coded.
Could you implement an option, which would provide a way for users to rename the script and use a custom name without having to go through a dozen of source files?
So are admin.php or identification.php. I'm not convinced the solution is to rename ws.php into ws1234.php.
@modus75 what do you think?
I'm not sure this is a solution. The api is used on the public side for rating (maybe some other things). So it would be easy for an attacker to find it.