Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

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

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

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7507261
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T22:27:09+00:00 2026-05-29T22:27:09+00:00

I am using Amazon web services in my php application. Is it safe to

  • 0

I am using Amazon web services in my php application. Is it safe to store the secret aws access tokens in a config.php file that are linked to my php web service?

I have been unable to download the file to look at the content, but isn’t it possible to use a packet sniffer or something and be able to read the key and pass phrase?

I know Amazon recommends using a token vending machine to create temporary credentials, instead of using the aws creds directly, but we are hoping to be able to skip implementing one.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T22:27:11+00:00Added an answer on May 29, 2026 at 10:27 pm

    Unless your config.php file will output the tokens when it is run, you should be safe. To take extra precaution, you could place the config.php file below the root directory of your website so that the user isn’t even able to try to run that file.

    Your php is being executed on the server, and as long as no output is being sent to the client that contains the tokens, the contents of that file will never be sent to the client. Therefore, they would have no way of reading the file because the contents never leave the server, just the output from running the script.

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

Sidebar

Related Questions

I am developing a web application that uses Amazon Web Services. I am using
I'm using Amazon Web Services' PHP SDK for their Flexible Payments System. Somewhere in
I've just starting using the Amazon Web Services (AWS) and I'm still learning about
I'm playing around with using amazon web services in my personal project. I've grabbed
I'm making web service calls to one of Amazon's APIs using PHP. It takes
Reading about and using the Amazon Web Services, I'm not really able to grasp
I'm using rJava to speak to the Amazon Web Services Java API from inside
I'm using Amazon Web Services for nearly everything, including their SimpleDB flat database. It's
I'm interested in getting my head around AWS (amazon web services) and its viability
I currently have a web application that I would like to scale out using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.