<p>Is it possible to access the database backend of a sharepoint server? My company uses Sharepoint to store data and pictures of various assets. Ideally I would be able to access the data and display it in my application to allow users both methods of access.</p>

<p>Before I go talk to the IT department I would like to find out if this is even possible?</p>

<p>Edit: From rails on linux? (Yes, I know I'm crazy)</p>

[{'answer_id': 33176, 'author': 'Adam', 'author_id': 3142, 'author_profile': 'https://Stackoverflow.com/users/3142', 'pm_score': 2, 'selected': False, 'text': "<p>yikes! :)</p>\n\n<p>look at the web service and .net API before going direct to the database.  i've used both and they provide plenty of flexibility (including building your own web services on top of the API if necessary).  API for on server clients, web services for off server clients.</p>\n"}, {'answer_id': 33235, 'author': 'Michael Stum', 'author_id': 91, 'author_profile': 'https://Stackoverflow.com/users/91', 'pm_score': 3, 'selected': True, 'text': '<p>Agree with Adam. Querying the Sharepoint Database is a big no-no, as Microsoft does not guarantee that the Schema is in any way stable. Only access the database if there is really no other way.</p>\n<p>As for Sharepoint, usually the Lists.asmx Web Service is what you want to look at first.</p>\n<p><a href="https://www.c-sharpcorner.com/article/access-sharepoint-portal-server-using-web-services-in-net/" rel="nofollow noreferrer">http://www.c-sharpcorner.com/UploadFile/mahesh/WSSInNet01302007093018AM/WSSInNet.aspx</a></p>\n<p><a href="https://web.archive.org/web/20200221152136/http://geekswithblogs.net:80/mcassell/archive/2007/08/22/Accessing-Sharepoint-Data-through-Web-Services.aspx" rel="nofollow noreferrer">http://geekswithblogs.net/mcassell/archive/2007/08/22/Accessing-Sharepoint-Data-through-Web-Services.aspx</a></p>\n'}, {'answer_id': 35245, 'author': 'Daniel McPherson', 'author_id': 897, 'author_profile': 'https://Stackoverflow.com/users/897', 'pm_score': 1, 'selected': False, 'text': '<p>Just a small comment. Never ever go to the database direct. If there is no way to do it via published and supported API\'s, then there is no way to do it. End of story. This applies even to when you are "just reading data", as this can still cause significant issues.</p>\n'}, {'answer_id': 515992, 'author': 'Charlie', 'author_id': 466531, 'author_profile': 'https://Stackoverflow.com/users/466531', 'pm_score': 1, 'selected': False, 'text': "<p>Just to support the above if you ever take a look at the SQL tables that sit behind SharePoint you'll realise why its not recommnded or supported to access the database direct.  MADNESS!</p>\n"}]
['https://Stackoverflow.com/questions/33174', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/757/']