function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Nazrul AminNazrul Amin 

Is it possible to query the salesforce DB without logging on or authorising the request? Ie a DB full of public data, I don't necessarily want users needing to login to see public information?

Best Answer chosen by Nazrul Amin
Sonam_SFDCSonam_SFDC
If your Developer Org was created prior  to 2009, the integration from Force.com sites to Developer Orgs was not available then. The solution then is to register  for a new Developer Org and you will automatically have this functionality.

reference: https://help.salesforce.com/apex/HTViewSolution?urlname=Why-I-don-t-have-Sites-menu-in-my-Org-1327365188711&language=en_US

All Answers

pconpcon
You could set up a site and write custom visual force page / controller to either display the data or return the data via another data structure.
Sonam_SFDCSonam_SFDC
When you say Salesforce data, yes there is a way to publish the public data without required auth using Force.com sites as pcon suggested.
The following doc and blog gives the details how you can create the site, however, its on read only data:
https://developer.salesforce.com/page/An_Introduction_to_Force.com_Sites 
http://bobbuzzard.blogspot.com/2012/10/building-templated-web-site-with.html
Nazrul AminNazrul Amin
Thanks both, it seems I need to have site.com publisher and/or site.com contributor licenses available, before I can perform the above.

Is there no other way to query the DB, ie by providing an Org ID? Am I reliant on havintg to create a site?
Nazrul AminNazrul Amin
What I am trying to say is I have no Site.com feaute shown in the location:  Setup | Develop | Sites.  Even though I have a developer org, from a few months ago
Sonam_SFDCSonam_SFDC
If your Developer Org was created prior  to 2009, the integration from Force.com sites to Developer Orgs was not available then. The solution then is to register  for a new Developer Org and you will automatically have this functionality.

reference: https://help.salesforce.com/apex/HTViewSolution?urlname=Why-I-don-t-have-Sites-menu-in-my-Org-1327365188711&language=en_US
This was selected as the best answer
Nazrul AminNazrul Amin
Sonam appreciate it, finally found sites.com available in the Develop menu under one of my orgs.  I think the user interface layout was deceiving me a little..

Thanks for your help :)