Files
document-server-integration/Readme.md

4.5 KiB

Integration examples

These test examples are simple document management systems that can be built into your application for testing. Do NOT use these integration examples on your own server without proper code modifications! In case you enabled any of the test examples, disable it before going for production.

These examples show the way to integrate ONLYOFFICE Docs into your own website or application using one of the programming languages. The package contains examples written in .Net (C# MVC), .Net (C#), Go, Java, Java Spring, Node.js, PHP, PHP (Laravel), Python and Ruby.

You should change http://documentserver to your server address in these files:

  • .Net (C# MVC) - web/documentserver-example/csharp-mvc/web.appsettings.config
  • .Net (C#) - web/documentserver-example/csharp/settings.config
  • Go - web\documentserver-example\go\config\configuration.json
  • Java - web/documentserver-example/java/src/main/resources/settings.properties
  • Java Spring - web/documentserver-example/java-spring/src/main/resources/application.properties
  • Node.js - web/documentserver-example/nodejs/config/default.json
  • PHP - web/documentserver-example/php/src/configuration/ConfigurationManager.php
  • PHP (Laravel) - web/documentserver-example/php-laravel/.env.example
  • Python - web/documentserver-example/python/src/configuration/configuration.py
  • Ruby - web/documentserver-example/ruby/app/configuration/configuration.rb

More information on how to use these examples can be found here: https://api.onlyoffice.com/docs/docs-api/samples/language-specific-examples/

Important security info

Please keep in mind the following security aspects when you are using test examples:

  • There is no protection of the storage from unauthorized access since there is no need for authorization.
  • There are no checks against parameter substitution in links, since the parameters are generated by the code according to the pre-arranged scripts.
  • There are no data checks in requests of saving the file after editing, since each test example is intended for requests only from ONLYOFFICE Document Server.
  • There are no prohibitions on using test examples from other sites, since they are intended to interact with ONLYOFFICE Document Server from another domain.

Project Information

Official website: https://www.onlyoffice.com

Code repository: https://github.com/ONLYOFFICE/document-server-integration

ONLYOFFICE for developers: https://www.onlyoffice.com/developer-edition.aspx

User Feedback and Support

If you have any problems with or questions about ONLYOFFICE Document Server, please visit our official forum to find answers to your questions: forum.onlyoffice.com or you can ask and answer ONLYOFFICE development questions on Stack Overflow.

License

document-server-integration is released under the Apache-2.0 License. See the LICENSE file for more information.