RSS Restrictions [message #15631] |
Sun, 28 December 2003 23:19 |
pgrote
Messages: 5 Registered: December 2003
Karma: 0
|
Junior Member |
|
|
Hello,
I'd like to make the RSS feed I supply to list topics only. I know I can do that by passing commands to the PHP file.
This doesn't prevent someone from submitting their own commands to the file, right? That would defeat my topic only listing.
I have looked at the security permissions on this and I think you can turn off RSS or verify someone's ID.
Is there a way to have the board generate the RSS on its own with only the settings I want while disallowing access to people who submit their own settings?
|
|
|
Re: RSS Restrictions [message #15633 is a reply to message #15631] |
Sun, 28 December 2003 23:47 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Quote: |
This doesn't prevent someone from submitting their own commands to the file, right? That would defeat my topic only listing.
|
Correct.
Quote: |
Is there a way to have the board generate the RSS on its own with only the settings I want while disallowing access to people who submit their own settings?
|
Either modify the rss generation script to ONLY do what you want a create a simple page that would wrap around rss.php and only make it pass the arguments you want it to pass.
FUDforum Core Developer
|
|
|
|
Re: RSS Restrictions [message #15638 is a reply to message #15634] |
Mon, 29 December 2003 15:31 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The script is called rss.php.t and is located inside the src/ directory. I believe commenting out lines is a possible solution.
FUDforum Core Developer
|
|
|