Sign Up

Talk Programming , Career, Mental Health, Talk Personal Finance ❤️‍ Post a query and receive responses ✅

Have an account? Sign In


Have an account? Sign In Now

Sign In

Post a query and receive responses. Ask anything, Ask Mitra ❤️‍

Sign Up Here


Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.


Have an account? Sign In Now

Sorry, you do not have permission to ask a question, You must login to ask a question.


Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

Ask Mitra

Ask Mitra Logo Ask Mitra Logo

Ask Mitra Navigation

  • Home
  • About Us
  • Find Jobs
  • Blogs
    • Add New Blog !
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Ask a Question
  • Home
  • All Categories
  • Find Jobs
  • Points and Swags
    • Badges and Points
    • Ask Mitra Swags
  • Blog
    • Add New Blog !
  • FAQs
  • Community Members 💓
  • About Us
  • Contact Us
Home| Questions|Q 53698
Next
In Process
madara_uchiya08
madara_uchiya08Pundit
Asked: May 14, 20222022-05-14T10:27:29+05:45 2022-05-14T10:27:29+05:45In: CyberSecurity

Api

How do you hide an API?

  • 1
  • 4 4 Answers
  • 69 Views
  • 0 Followers
  • 0
Share
  • Facebook

    Related Questions

    • Can companies misuse the data they collect from people?
    • What kind of security configuration in this Worldlink Wi-Fi?
    • How does a hacker hack a CCTV Camera?
    • Laptop suggestion please
    • cybersec oppurtunities in nepal

    You must login to add an answer.


    Forgot Password?

    Need An Account, Sign Up Here

    4 Answers

    • Voted
    • Oldest
    • Recent
    • Random
    1. THE BIG OCEAN Explainer
      2022-05-14T13:46:51+05:45Added an answer on May 14, 2022 at 1:46 pm

      I hope these can help you:

      How-do-I-hide-API-keys-in-a-web-development-or-in-production

      how_do_i_hide_an_api_key

      how_to_hide_api_key_in_my_opensource_project

      • 0
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    2. Dunnoh Pundit
      2022-05-14T14:41:22+05:45Added an answer on May 14, 2022 at 2:41 pm

      What do you mean by hide an API?

      • 0
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    3. Virtual Wiz Tech Nerd Love to Code | Just a Tech Enthusiast
      2022-05-14T15:53:28+05:45Added an answer on May 14, 2022 at 3:53 pm

      You can architect your deployment and version control process so API keys and passwords won’t reach developers and version control server. I think it should be always done like that – but I often see project where it was done otherwise.

      How we do that:

      • we store passwords and API keys in separate location on server from which only system admin can access it directly (web process that uses key also can obviously – but not a developer)
      • we don’t allow direct access for most developers (neither through ftp nor ssh) to code on server and to those files, some lead dev-ops have such access
      • we deploy by external deployment platform (I personally have used Beanstalkapp and DeployHQ so those I can recommend) that allows to deploy changes from git repository
      • we allow only lead developers to deploy from there to production
      • we have code reviews (so if one adds code to show password or key to himself then we will most probably see it)
      • we do not store passwords and keys in git, those are configured on server (paths) and imported, main config files are git-ignored
      • developers use other databases (local copies of structure and test data, staging server) and usually use other API keys (except some less crucial like google maps api etc.) when possible, often in docker, when not possible then there is a testing and staging server(s) to use and also separated like one of the production

      I mean of course API keys and passwords used from server side jobs and code (like some external paid services or AWS cloud keys or open auth secret keys etc.). JavaScript keys can’t be really hidden. Those can be obfuscated but usually no need to do that.

       

       

      copied answer from here

      • 0
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    4. [Deleted User]
      2022-05-15T10:07:07+05:45Added an answer on May 15, 2022 at 10:07 am

      you mean hiding api keys or hiding api end point?

      if you want to hide api keys then use environment variables and it you want to hide API endpoint then protect it with an API key so that the only with the API key can only access the endpoint

      • 0
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp

    Sidebar

    Ask A Question

    Your Favourite Topics

    • Announcements
    • Blockchain
    • Books

        • —Non Tech Books
        • —technical books
    • Business and Entrepreneurship
    • Careers
    • College
    • Content and Blog
    • CyberSecurity
    • Design and Arts
    • Devices and Gadgets
    • Digital Marketing
    • Entertainment

        • —Movies-Series-TV
        • —Music
        • —Sports
    • Events
    • For Admins only.
    • Health

        • —Fitness
    • Money

        • —Personal Finance
        • —Stock Market
    • Operating System

        • —linux
        • —windows
    • Other
    • Paid Internship
    • Programming

        • —AI/ML
        • —APIs
        • —C & C#
        • —Django
        • —Flutter
        • —Go
        • —HTML&CSS
        • —Java
        • —JavaScript
        • —Mobile Apps Development
        • —Node Js
        • —NoSQL
        • —Php
        • —Python
        • —React JS
        • —SQL

    Stats

    • Questions 1k
    • Answers 10k
    • Best Answers 391
    • Users 2k

    Top 6 Members This Month

    Vicky

    Vicky

    • 0 Questions
    • 78 Points
    Sensei
    puppet

    puppet

    • 0 Questions
    • 23 Points
    Beginner
    wtfixair

    wtfixair

    • 0 Questions
    • 22 Points
    Beginner
    Dhanmaya

    Dhanmaya

    • 0 Questions
    • 20 Points
    Beginner
    Riyesh

    Riyesh

    • 0 Questions
    • 20 Points
    Beginner
    pranitkarki

    pranitkarki

    • 0 Questions
    • 20 Points
    Beginner

    Trending Tags

    askmitra blockchain c++ career coding College cybersecurity Django Flutter help javascript laptop laravel linux poll Programming python question react web web development wordpress
    • Popular
    • Answers
    • Rounak Agrawal

      Ask Mitra Udemy Courses Giveaway

      • 76 Answers
    • Subedi Bibek

      The Complete JavaScript Course 2022: From Zero to Expert! Udemy ...

      • 73 Answers
    • Subedi Bibek

      Mega Giveaway at askmitra.com 🔥

      • 69 Answers
    • bishwaKiran
      bishwaKiran added an answer Try getting into githubs student program, use your university/collage/school ID… January 30, 2023 at 7:44 pm
    • Sandeep Poudel
      Sandeep Poudel added an answer SOLVED: It was due to unfinished SSL certificate installation January 27, 2023 at 7:11 pm
    • Aashutosh_k
      Aashutosh_k added an answer Software piracy protection system Fingerprint voting system Stock price prediction… January 26, 2023 at 7:37 pm

    Related Questions

    • Can companies misuse the data they collect from people?

      • 5 Answers
    • What kind of security configuration in this Worldlink Wi-Fi?

      • 2 Answers
    • How does a hacker hack a CCTV Camera?

      • 3 Answers
    • Laptop suggestion please

      • 2 Answers
    • cybersec oppurtunities in nepal

      • 1 Answer

    Explore

    • Home
    • Trending Category
      • Programming
      • Web Development
      • —Mobile Apps Development
      • —Stock Market
      • Business and Entrepreneurship
      • Blockchain
      • College
      • —Personal Finance
      • —HTML&CSS
      • —JavaScript
      • —Python
      • —React JS
      • —Node Js
      • —C & C#
      • Content and Blog
      • Careers
    • All Categories
      • Go to All Categories
      • Health
      • —Go
      • —Flutter
      • Digital Marketing
      • —APIs
      • Devices and Gadgets
    • Find Job and Internships
    • Points and Swags
      • Badges and Points
      • Ask Mitra Swags
    • All Blogs
      • Add New Blog !
    • FAQs
    • Community Members 💓
    • Questions
      • Un Answered
      • New Questions
      • Most Seen Questions
      • Most Answered
      • Trending Questions
    • Tags

    Footer

    Ask Mitra

    Ask Mitra

    Ask Mitra is a social question and answer engine that will assist you in forming a community and connecting with others. Talk about programming, your career, your mental health, and your personal finances. ❤️‍ Post a query and receive responses ✅

    Quick Navigation

    • Ask a Question
    • Home
    • All Categories
    • Find Jobs
    • Points and Swags
      • Badges and Points
      • Ask Mitra Swags
    • Blog
      • Add New Blog !
    • FAQs
    • Community Members 💓
    • About Us
    • Contact Us

    Legal Stuff

    • Terms of use and policy