Pass Asset ID through URL to get asset content


(Pearce) #1

Hi Guys,

 

Currently, when logged in through admin, I can access assets no problem using this query parameter. http:/mywebsite.com/?a=216849

 

However, I have a script that tries to scrape the page based on its asset ID, and everytime it tries to access the asset, it returns a 403 because the script is not logged in as an admin.

 

How can I make it so I can access my assets on this variable without being logged in?

 

Regards

Pearce


#2

Just to confirm ....  The asset you are trying to access without login is "Live" .... not "Under Construction or Archived" Right ?