Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

secure etherpad lite integration

Subscribe

Get notified when there's activity on this post

This question has been flagged
securityv7etherpad
10069 Views
Avatar
sulzi

Hi there, I got my etherpad integration working, but I don't want to provide open access to my etherpad installation. If I set etherpad to EditOnly, I'm not able to create new pad's with openerp, which afaik connects by API. The settings description says:

"Users may edit pads but not create new ones. Pad creation is only via the API. This applies both to group pads and regular pads."

What am I doing wrong? Did I miss something? Any tipp?

Cheers

0
Avatar
Discard
Tobias Frankl

Did you find the "correct" config. I am also searching for a secure and working config for the etherpad server.

Brett Lehrer

Why EditOnly on etherpad? I've got etherpad working behind an https reverse proxy via nginx, I just only offer access through tasks (and issues) and allow creating/editing like normal. If you really wanted to lock it down you could probably use an iptables rule to only allow connections over the etherpad port from your ERP or reverse proxy IP.

Tobias Frankl

Thanks for your post. My config is also a dedicated vm with https via nginx. My thought is that it is reachable by everyone "guessing" some etherpad adress. https://myserver:port/ABAJAUADN is hard to guess, but i am not sure if it is impossible. So the content of my pads would be open to everyone if not refused by etherpad-lite. The connection in my understanding is not odooetherpad but odoo->browser of client->etherpad-lite. IP tables does not help here? So, the question is refered to the config of etherpad-lite, without problems with odoo integration. This is my actual etherpad config. /* Users must have a session to access pads. This effectively allows only group pads to be accessed. */ "requireSession" : false, /* Users may edit pads but not create new ones. Pad creation is only via the API. This applies both to group pads and regular pads. */ "editOnly" : false, /* Users, who have a valid session, automatically get granted access to password protected pads */ "sessionNoPassword" : false, /* This setting is used if you require authentication of all users. Note: /admin always requires authentication. */ "requireAuthentication": false, /* Require authorization by a module, or a user with is_admin set, see below. */ "requireAuthorization": false, /*when you use NginX or another proxy/ load-balancer set this to true*/ "trustProxy": true, if my users could use etherpad with ldap authentication additionally to the odoo integration with api would be fantastic. Short: Is this config secure? Thanks

Brett Lehrer

iptables definitely would help. The reverse proxy is the one communicating with etherpad, not the client (that's what makes it a reverse proxy). At that point the only way to reach etherpad would be through the reverse proxy or by SSH tunnels to the reverse proxy server. Etherpad would effectively only ever see connections from your reverse proxy, direct access would be blocked before reaching the socket in the first place.

Mind And Go

Hy @sulzi, I think there is a bug somewhere. I had the same problem and etherpad seems to have the options to manage API creation. So I reported a bug : https://github.com/odoo/odoo/issues/6399

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
Creating user groups that allow users to access several companies
security v7
Avatar
Avatar
1
Feb 25
8745
Etherpad installation Solved
v7 etherpad
Avatar
Avatar
Avatar
2
Dec 23
18879
Aps menu request access to apps.openerp.com
security v7
Avatar
Avatar
1
Mar 15
6585
Why does OpenERP store passwords in plain text by default
security v7
Avatar
Avatar
Avatar
Avatar
Avatar
4
Mar 15
10366
Settings to session timeout? Solved
security v7 session
Avatar
Avatar
17
Apr 24
59497
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now