IF you're using Sharepoint 2013 as your link implies, there is web API (REST services) you can use to manipulate list and libraries. With suitable permissions of course.
If you're using older versions, you'll have to be more creative. Since you didn't write which version of sharepoint you use, that is the best advice I can give you (and the differences between versions are huge so don't bother researching for the version you're not using)
Here is the link to Sharepoint REST:
REST API reference and samples[
^]
I tried it, it is fairly easy to use, but it is hard to configure with Kerberos. Otherwise it works like a charm.