Where to locate Connections folder?

Hi,
I've noticed that DW places the Connection folder in the site
root which
seems to me to be a very bad place for security reasons. So
my question
is, where is best place to put the Connection folder for a
site, and how
do you do that from within DW when all site files are within
the site
folder? Also, if you move the Connections folder somewhere
above the
www folder, how will DW handle the path?
TIA

Brett wrote:
> Hi Steve,
>
> Below is a quote from a class I took in PHP/MySQL and
the instructor
> made specific mention of this issue, which is why I
bring it up.
>
> "The most sensitive information you have in your
application is the
> login information to your MySQL database server,
contained in the
> /mysql_connect()/ function. If hackers got a hold of
this file, they'd
> know the user name and password for your MySQL database.
That could be
> potentially bad.
>
> To prevent that problem, we'll create a separate PHP
function called
> login() and save it in an alternative location. To keep
things simple,
> I'm just including it in the mylibrary folder under our
store folder. In
> real practice, it would be best to place it in a folder
out of the
> Apache Web server's path so it's not accessible via the
Web."
>
> Certainly a normal visitor would not have any reason to
do harm, nor
> would they know where to begin. But with the malicious
nature of some
> people, I wonder if there is not a safer approach. Since
I'm not a
> hacker, I don't know how to exploit security weaknesses,
but I certainly
> don't want to give them the opportunity.
> Now, if this setup is perfectly safe and I really have
nothing to worry
> about, I'll let it be.
>
> As always Steve, thanks for taking the time.
Hi Brett,
I agree that there are nasty hackers out there looking for
ways in to
get sensitive data, but there are also millions of potential
websites
for them to hack, and they normally pick ones where they have
something
to gain. If your site has data that is critically sensitive,
then you
need to be getting a security expert to certify your code,
and if that
was the case, I wouldn't think Dreamweaver would be the tool
of choice
to create the code.
Macromedia responded to sql injection security alerts when
they were
identified, there was a major change in all the recordset
code and
behaviours, and this was in 8.02, so they took if very
seriously, if
there was a serious flaw in the way connection folders are
used, don't
you think that would have been addressed by now?
One thing I always forget to do is remove the scripts folder
from my
live site after making tweaks to pages, as that folder is one
that
contains code that will leave your site open to abuse. It
under the site
menu, then advanced, and is called remove connection scripts.
This isn't
the connections folder, its the _mmServerScripts folder, its
copied to
the server each time you open a recordset, so you need to
remove it once
your done.
The advice from Adobe is to not copy them onto a live site,
but its easy
to forget that the folder is there after you have made a
quick change
that involves a recordset or server behaviour. Here is some
more
information:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16566
Steve

Similar Messages

  • FCP X version 10.1.1.  When Sharing to DVD I get the following alert " There was an error burning your discd.  Not enough Disk Space in Target Folder"  I have 700GB   free.  Where is this target folder located?  how can I fix this problem? not space prob

    Sharing to DVD I get the following alert " There was an error burning your disc.  Not enough Disk Space in Target Folder"  I have 700GB   free.  Where is this target folder located?  How can I fix this problem? This is definitely not a space problem. 
    Since starting with FCP X, there has been tons of issues, now that the product actually works with the exception above, makes it impossible to share the production.  Has Apple fixed this problem.  is there a knowledge base article on this?
    On another note, One reason I have not purchased support on FCP X is because you sold a product that never worked for almost an entire year or more.   Now I can finally finish my project,  I cannot share it.....Really.  This has to be fixed now, I am loosing money as I typed this.
    Regards,
    Rob Harris

    Just curious, why would repairing permissions, rebooting ( rebooted 2 times already today) or creating a new user possibly fix this.
    I cannot create a new user, that is way too much work.  I will repair permissions again,  I repaired permissions just a few days ago. Then I will reboot, login and turn off App Nap and rerun the Share DVD.
    There must be something seriously wrong with the OS if your are suggesting creating another user.   WOW!
    Rob H.

  • Using spotlight, I was able to see where a document of folder was located. Now, I see a image of the document but have no idea where it is located.  Is this a setting I change? I really don't need to see or open the docs and folders, I just need to locate

    Using an older operating system, when I used spotlight for a serch I was able to see where the document or folder is located.
    Now, I see an image thats nice, but I must open it it find out where it is stored.  Perhaps this is a setting change?  
    I search not always to open, but just to see where like files are stored.

    Ok sorry. Yes it doesn't anymore but I think you can right click on the entry in the SL search and select either Get Info or Open in Finder and then it will display the location of that file. I don't use spotlight as I think it is @^%$&. I use Easyfind.
    Apple doesn't think the user needs to know the path of their files so they removed that feature of spotlight.

  • Where it the bookmarks folder located on my hard drive? I want to copy to a cd to save them.

    Where is the bookmarks folder on my hard drive? I want to copy them to a cd to back them up. I have a lot of saved bookmarks that I do not want to lose. I know in MS that it is under the favorites folder, but I cannot find a bookmark folder.
    == This happened ==
    Not sure how often
    == n/a

    One file named '''places.sqlite''' in your Profile folder, which also contains your browsing history.
    [http://support.mozilla.com/en-us/kb/Profiles#How_to_find_your_profile]
    You might want to read this, too.
    https://support.mozilla.com/en-US/kb/Backing+up+and+restoring+bookmarks

  • Dreamweaver Connections Folder Help Needed

    I am working on Mac OS 10.4, Dreamweaver 8, PHP 4.1+ and
    MySQL. I can get my database connection to work if I have it
    directly in the PHP code but if I try to do it using the
    Dreamweaver interface - the connection doesn't work. My testing
    server and remote server all test ok on the connections. I believe
    the problem is where the Connections folder is located but it
    appears Dreamweaver only accepts it at the top level and the way my
    hosting company configures their domains, it doesn't see the
    connections folder and it doesn't work. I need to get it to work as
    I want to use the Dreamweaver interface. I've searched every help
    forum and tried many suggestions with no luck - anybody run into
    the same problem?
    Thanks!
    Jammin' Julie

    Thank you for writing. I do need your help, and here's the
    scenario. I work for a company that deals with business credit. In
    the previous post at
    http://www.businesscreditbuilder.com
    there is a login. Once logged in, there is a home page for the
    members. That first page I need to change as soon as possible for
    over 40,000 members. All the members will see the same home page
    inside the members area. You're welcome to login as "makaiman",
    password is "1143mak" to see the first page that comes inside the
    members area I need to change just a little. PHP is installed on a
    remote server running on Windows. I need help or guidance on this
    immediately but I have to sleep right now as it is 1130pm pacific
    and need to have this done by sometime tomorrow morning. I
    appreciate all of your help so very much... any advice would be so
    much appreciated...
    m

  • ITunes won't locate iTunes folder on external hard drive....

    My iMac crashed last week, and I picked it up this afternoon.
    Prior to the crash, I had transferred my entire iTunes to an external hard drive. When I tried to connect the newly configured iMac, I opened iTunes, and followed the instructions as Apple recommended - at least I think that I did, but nothing happened.
    Creating a new folder doesn't seem to be the way to go since all of my music is already on the external hard drive. I know that I'm missing a vital step; I'll appreciate some help.
    Thanks.

    Hi Ramón:
    You wrote:
    Creating a new folder doesn't seem to be the way to go since all of my music is already on the external hard drive.
    Did you follow these steps: http://docs.info.apple.com/article.html?artnum=301748 They can be a little involved, but it should work. Try them again. Keep in mind that you're not really "creating" a new folder, so much as telling you iMac where to find the folder you've already created so it can locate your external drive and the music you have on it. And remember, as it says in the Kbase article: _Note: If you move your music library to an external hard drive, you will need to have that drive connected to access your files._
    If you need a more detailed account of how best to proceed, take a look at this non Apple-produced article: http://www.tuaw.com/2006/09/19/how-to-keep-your-itunes-library-on-an-external-ha rd-drive/ A not very tech-savvy friend of mine used it to mover her itunes library to an external drive a few weeks back and said it helped her a lot. (Between you and me, the Apple ones worked did just fine for me, but whatever works, you know?)
    If after following the linked instructions you still encounter problems, please post back and give us a better sense of what you did and what you mean by "nothing happened." ;- 0
    Good luck!
    JDee

  • When I try to save a webpage as a bookmark, the options window where I choose the folder where I will save it is disappearing when I try selecting it

    Step 1. I open a web page.
    Step2. I press ctrl+d.
    Step3. I do not see the window where I choose the folder I wish the bookmark to be saved in.
    Step4. I clicked the star button on the right corner of location bar.
    Step5. I see the window now.
    Step 6. When I move the cursor down that window to choose the folder it again disappears.
    Step 7. I randomly click at a spot in the area where the window disappeared.
    Step 8. I realize that it does not go away but stays hidden disappearing.[http://www.youtube.com/watch?v=WV050BObT9I]

    hello bdavis106, please refer to [[Find and manage downloaded files]].

  • Where is the extension folder for Adobe Bridge? (Mac)

    I am trying to install the output module on Adobe Bridge. I am totally new to Creative Suite and photoshop. I can't find any information on bridge extensions at all. Here's the page I found on installing the output module- http://helpx.adobe.com/bridge/kb/install-output-module-bridge-cc.html
    I downloaded it but after that is says to copy it into the extension folder. Where is the extension folder? Is it is Bridge? Is it in Finder? Any information on extensions is much appreciated! What exactly are extensions? What is the difference between the extension folder and extension manager?
    Thank you!

    At first sight I can' see anything wrong about the correct locations you used.
    There was no need to delete all workspaces but that also should do no harm I would think.
    You once pointed at the bridge6.plist file but it is not clear to me what you did with it. Personally I would quit Bridge and delete this plist file manually and then restart with again holding down option and use reset preferences.
    And you did also use the reset to standard workspaces instead of the reset workspace to only reset the selected workspace. I don't know for sure this will make a difference but it is worth a try.
    And while you are in the user library to delete the plist file for Bridge also look in the folder caches in this library.
    User / library/caches/adobe/Bridge CC and inhere find and delete both the plug in and cache folder, then restart Bridge.
    Finally it might be also worth a try to download CS6, it should not be needed to do so but it was one of the earlier solutions that worked. In your ACC menu click on any app that shows blue and this brings you to the CC website. Choose download center and find PS. Click on the icon and this gives you the detailed download page. Inhere you can change CC to CS6.
    Download PS6 it and install it (this also installs the CS6 version of Bridge which was not a separate download in CS6). Then try first start CS6 and start the AOM which is installed by default in this version.
    Then when having used this once quit CS6 and try CC (or even combine with restarting your Mac).
    Hope this helps, because I'm running out of options

  • Moved the "Connections" folder, now Dreamweaver CS3 can't find MySQL connection...

    Hi,
    Dreamweaver creates a "Connections" folder in the site root
    where all database connection files are stored. I want to move this
    folder to another path but then DW can't find the connection (for
    example in admin/includes/Connections).
    How can I tell DW the new path of the "Connections" folder so
    I can still use DW extensions to find all available database
    connections?
    Thanks!
    Regards,
    Checo

    _Checo_ wrote:
    > How can I tell DW the new path of the "Connections"
    folder so I can still use
    > DW extensions to find all available database
    connections?
    Answered your duplicate post in the AppDev forum. Please
    don't post
    identical questions in multiple forum.s
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Where is the LOGIC folder ???

    Hi. I installed Logic 7 on my Dual 2.3 for the first time today . I have 2 hard drives , one just for audio , so the install went to my system drive. Under applications i can see the Logic Icon which opens the program. Where is the physical folder , i mean where r the EXS24 samples etc.
    Sorry its my first week with OSX.....
    I shall be upgrading to 7.1 soon , so i will need to delete all this before installing that wont i ??
    Thanks
    Faisal

    Hey Faisal,
    OSX, sorts all applications right down in the application folder. Asscociated folders and documents are sorted in a folder called Application Support.
    So your "Logic folder" is located here: system drive/library/Aplication Support
    You actually have another one here also: User(probably your name)/Library/Application Support
    This one is for your own saved patches etc.
    So the Factory Library to your Exs 24 are located in the first and your own will be located in the second, by default. You don't have to follow this though.
    You will not have to delete anything to run the updater, actually, you really shouldn't!
    ATB,
    Erik

  • I just got my ipod stolen, I requested to do a remote lock. I got the email that it got locked, meaning they connected to the internet. Can I see where they got connected?

    I just got my ipod stolen, I requested to do a remote lock. I got the email that it got locked, meaning they connected to the internet. Can I see where they got connected?

    Since the lock was successful, the dirtbag who stole it will not be able to do anything with the iPod until it is restored as new. Of course that means you will no longer be able to locate it.
    Its last location may be reported, if the WiFi location it used to connect was known.

  • Connections folder outside public_html

    Hi all, wonder if anyone can help a newbie.
    I have created Mysql database on webserver.
    I have made a Dreamweaver connection to the db, created php
    connection file which is in Connections folder.
    But the folder is located one level up (outside) from my
    public_html folder - is this correct? I was wondering if all
    folders and files should be inside my public_html folder, in which
    case I must have made a mistake when in Site Manager.
    I found the settings in Site Manager quite confusing so have
    probably made a mistake somewhere with the "host directory".
    If it is incorrect, how should I move the files.
    Also because I was changing site manager settings to get the
    connection working I now have 2 mmServerScript folders on my web
    server; one inside public_html and one outside!
    Would I be best to delete both folders and start again! How
    should I go about repairing this?
    Many thanks for any advice

    Done thanks....

  • Locate missing folder with new hard drive

    What is the best way to tell Lightroom 1.4 where all your files are if all of them have been moved from an internal drive to an external drive?
    The condition I am concerned about is that after I have moved these files I do not see same ole folders in the Library module (aka folders of images in all the old folders on the hard drive)
    I have just moved my all photos from an internal to an external hard drive. I have gone through a few image by image and "locate(d) missing file". I would like to be able to do a master or one time "locate missing file" or really locate missing folder to locate everything all at once.
    Is it possible to "locate missing folder or file on a a big scale? The files are the same same names etc.

    yes that concerns me to. In the past when I have moved folders around "re-arranged" files or folders, I have successfully located the missing folder (file) on the hard drive thus directing Lightroom to this new location and all the sub folders do "fall into place" Since this has not been my experience with thisnew hard drive I am just wondering if ....well just wondering if I should back up Lightroom take off computer and re-load the software. I do not know the possible consequences of this action.
    I do not import the files into Lightroom.

  • Out of no where, will not connect wirelessly​.

    I just purchased a Windows 8 pc. However, I take such good care of my techie things I still have an old Toshiba laptop about 8 years old, maybe a little less that runs just great, it's just the technolgy was getting a little behind. It's the old style "tablet" that has the swivel screen and was considered "heavy" accord to our standards today.
    The Toshiba Satellite (circa 2005) laptop is an XP with all the updates and service packs. I keep it lean and clean with Advanced System Care, have for months with no problem. It was always used to connect wirelessly.
    About the middle of February I switced from Verizon slow DSL to Comcast because we have no other choice for a faster speed. No FIOS. But, I've come back a full 180 to Verizon. However I did get a new modem, the latest advances. It's a D-Link ADSL2+  (DSL2750B)  Supposed to run 3 to 6 times faster than the old Verizon modem I had. When I first connected to the DSL I turned this laptop on, connected wirelessly and it was there great going! I was even hitting almost the top speed I am provisioned for wireless. The modem is only 2 feet away but still. I turned if off, turned my attention back to the new Windows 8 machine for a day couple of days
    Then I wanted to go back and check the Toshiba XP  and revel in it's great performance on this new modem .... drat!!  It detects all local stations, even of course mine, but when I try to connect it tries but fails and jumps to a neighbors DSL. I can however connect with the Ethernet cord.
    I've been using this Toshiba Tablet for months with a USB wireless adapter just fine that a friend gave me. In fact either the internal wireless adapter and the USB worked with not a problem but tests seemed to show his gift of the adapter was a little faster, so I use it exclusively. 
    So neither wireless adapter, internal or USB will connect to my modem. I even tried pressing the WPS button on the modem, the one that's lets someone near log on without a password.
    So there it is. Can anyone have a clue why this worked at the first and now won't?  Also, all other pc's, including a netbook with XP and a new small android tablet are connecting no problem. It's the Toshiba laptop alone that for some reason ...
    out of no where, will not connect wirelessly. Is there an easy fix than uninstalling drivers?  But why would both adapters get a corrupted driver at the same time?  I hope there is help here.  Thanks so much for reading this and consdering my situation.  Jack  ":-D

    Since the computer can connect with the neighbor's router, I don't think there is a problem with wireless connection on the computer. So it has to be some configuration or settings problem with the new modem. I would check the encryption of the new modem. If the computer can see the modem, but not connect, my thinking is that the encryption is blocking the connection. Temporarily disable the encryption on the new modem and see if that makes a difference. If it doesn't, you may want to check the advanced settings on the modem and compare the IP settings on the computers that work versus the one that doesn't.

  • Where to locate and how to use the filter thershould to binarized image

    Good morning friends. I am using
    Labview with VDM and let me know where to locate and how to use the
    filter thershould. Also that parameters used to binarized image captured
    via webcam and display it in black and white.
    Thank you very
    much.

    Is the image that you are getting a RGB one? Use color plane extraction and then use a binary threshold to convert it into a binary image. You can also directly use a color threshold and convert a rgb (color) image to a binary image.

Maybe you are looking for

  • How can I print from the ipad

    I need to be able to print boarding passes the night before a flight and an occasional form sent through email. Trying to see if I can stop carrying my laptop.  I can usually find a printer with USB connection so I am guessing I just buy the camera c

  • I am trying to share 3 iCloud calendars, but I do not see any options when I click on the Share icon.

    I have several calendars on my iCloud, and I want to share 3 of them with my wife. I am using Safari 6.0 on Mountain Lion (10.8), and when I go to my calendars on iCloud, I see all of the calendars listed in the left column. The three I want to share

  • Add Internal leaf in Taxonomy Mode

    Hi All, I am working on CRM-MDM Integration in which i am sending Remote Key of categories with main table record. It works fine when this Remote key of category belongs to leaf nodes but when this is Root node i get error Some records failed to impo

  • Template template parameters don't work

    Consider the following code: #include <iostream> #include <algorithm> template <template <typename T, int I> class Container, typename type, int size> struct ContainerTraits      typedef typename Container<type, size>::type value_type; template <type

  • Lenovo in the business environmen​t

     I am evaluating the T61p for distribution in my network. I currently have about 75 Dell Inspiron and Latitudes rolled out to my users. I've always known the ThinkPad to be a reliable and robust system. I have some questions and concerns about the T6